mirror of
https://github.com/ivuorinen/shellspec-zed.git
synced 2026-01-26 03:04:11 +00:00
feat: plugin code, updates
This commit is contained in:
29
languages/shellspec/config.toml
Normal file
29
languages/shellspec/config.toml
Normal 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 = "'" }
|
||||
Reference in New Issue
Block a user