mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 19:02:07 +00:00
Add autoclosing braces for Shell Scripts (#20278)
Added support for autoclosing braces `{}` and single quotes `''` in Shell Scripts
This commit is contained in:
parent
eca3424cb5
commit
815385cc5f
1 changed files with 2 additions and 0 deletions
|
@ -7,5 +7,7 @@ first_line_pattern = '^#!.*\b(?:ash|bash|dash|sh|zsh)\b'
|
|||
brackets = [
|
||||
{ start = "[", end = "]", close = true, newline = false },
|
||||
{ start = "(", end = ")", close = true, newline = false },
|
||||
{ start = "{", end = "}", close = true, newline = false },
|
||||
{ start = "\"", end = "\"", close = true, newline = false, not_in = ["comment", "string"] },
|
||||
{ start = "'", end = "'", close = true, newline = false, not_in = ["string", "comment"] },
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue