fix shell highlighting for variables with leading underscore (#3833)

This commit is contained in:
Mikko
2025-08-20 21:51:34 +03:00
committed by GitHub
parent 421da6752e
commit 6b15bf3b19

View File

@@ -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: "\""