feat: plugin code, updates

This commit is contained in:
2025-09-07 23:36:04 +03:00
parent 773f82e610
commit 4188c9221f
15 changed files with 354 additions and 11 deletions

View File

@@ -0,0 +1,29 @@
name = "ShellSpec"
grammar = "bash"
path_suffixes = ["_spec.sh", ".spec.sh"]
line_comments = ["# "]
tab_size = 2
hard_tabs = false
first_line_pattern = "^#!/.*shellspec"
[[brackets]]
start = "'"
end = "'"
close = true
newline = false
not_in = ["string", "comment"]
[[brackets]]
start = "\""
end = "\""
close = true
newline = false
not_in = ["string", "comment"]
[[brackets]]
start = "$("
end = ")"
close = true
newline = true
block_comment = { start = ": '", end = "'" }