mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-04 22:20:20 +09:00
sh.yaml: Match parameter expansions with braces using \w
This commit is contained in:
@@ -41,7 +41,7 @@ rules:
|
||||
# Conditional flags
|
||||
- statement: "\\s+(-[A-Za-z]+|--[a-z]+)"
|
||||
|
||||
- identifier: "\\$\\{[0-9A-Za-z_:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
|
||||
- identifier: "\\$\\{[\\w:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
|
||||
- identifier: "\\$([0-9_!#@*$?-]|[A-Za-z_]\\w*)"
|
||||
|
||||
- constant.string:
|
||||
|
||||
Reference in New Issue
Block a user