We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a62a8e commit 4abd966Copy full SHA for 4abd966
1 file changed
runtime/syntax/sh.yaml
@@ -42,7 +42,7 @@ rules:
42
- statement: "\\s+(-[A-Za-z]+|--[a-z]+)"
43
44
- identifier: "\\$\\{[0-9A-Za-z_:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
45
- - identifier: "\\$[0-9A-Za-z_:!%&=+#~@*^$?,\\-\\[\\]]+"
+ - identifier: "\\$([0-9_!#@*$?-]|[A-Za-z_]\\w*)"
46
47
- constant.string:
48
start: "\""
0 commit comments