We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0be89a0 + 18c5541 commit e265e1bCopy full SHA for e265e1b
syntaxes/nushell.tmLanguage.json
@@ -119,7 +119,7 @@
119
"name": "variable.parameter.nushell"
120
},
121
"variables": {
122
- "match": "(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+)",
+ "match": "(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))*)",
123
"captures": {
124
"1": {
125
"patterns": [
@@ -523,7 +523,7 @@
523
524
525
"command": {
526
- "begin": "(?<!\\w)(?:(\\^)|(?![0-9]))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?<=\\^)\\$?(?:\"[^\"]+\"|'[^']+'))",
+ "begin": "(?<!\\w)(?:(\\^)|(?![0-9]|\\$))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?<=\\^)\\$?(?:\"[^\"]+\"|'[^']+'))",
527
"beginCaptures": {
528
"1": { "name": "keyword.operator.nushell" },
529
"2": {
0 commit comments