Closed 1480c1 closed 7 months ago
I got it to highlight using
diff --git a/autogenerated/shell.tmLanguage.json b/autogenerated/shell.tmLanguage.json
index 345b50b..08b4bc4 100644
--- a/autogenerated/shell.tmLanguage.json
+++ b/autogenerated/shell.tmLanguage.json
@@ -1160,6 +1160,34 @@
}
]
},
+ {
+ "begin": "(?<=^|;|&|\\s)(for)\\s+(.+?)(?=\\s|;|&|$)",
+ "beginCaptures": {
+ "1": {
+ "name": "keyword.control.shell"
+ },
+ "2": {
+ "name": "variable.other.loop.shell",
+ "patterns": [
+ {
+ "include": "#string"
+ }
+ ]
+ }
+ },
+ "end": "(?<=^|;|&|\\s)done(?=\\s|;|&|$|\\))",
+ "endCaptures": {
+ "0": {
+ "name": "keyword.control.shell"
+ }
+ },
+ "name": "meta.scope.for-in-loop.shell",
+ "patterns": [
+ {
+ "include": "#initial_context"
+ }
+ ]
+ },
{
"begin": "(?<=^|;|&|\\s)(while|until)(?=\\s|;|&|$)",
"beginCaptures": {
should be fixed now! and thanks for the diff @1480c1 !
The code with a problem is:
It looks like:
screenshot + theme name preferable Theme:
Dark Modern
It should look like:
description of ideal the
a
should be high-lighted as the same blue whenin "$@"
is present https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_03 specifies the two should be equivalent.