mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-05 14:40:20 +09:00
fix shell highlighting for variables with leading underscore (#3833)
This commit is contained in:
@@ -42,7 +42,7 @@ rules:
|
||||
- statement: "\\s+(-[A-Za-z]+|--[a-z]+)"
|
||||
|
||||
- identifier: "\\$\\{[\\w:!%&=+#~@*^$?, .\\-\\/\\[\\]]+\\}"
|
||||
- identifier: "\\$([0-9_!#@*$?-]|[A-Za-z_]\\w*)"
|
||||
- identifier: "\\$([0-9!#@*$?-]|[A-Za-z_]\\w*)"
|
||||
|
||||
- constant.string:
|
||||
start: "\""
|
||||
|
||||
Reference in New Issue
Block a user