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.
1 parent 4a7ec6e commit eaf5773Copy full SHA for eaf5773
syntaxes/nushell.tmLanguage.json
@@ -119,7 +119,7 @@
119
"name": "variable.parameter.nushell"
120
},
121
"variables": {
122
- "match": "(\\$[a-zA-Z0-9_]+)",
+ "match": "(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+)",
123
"captures": {
124
"1": {
125
"patterns": [
@@ -129,11 +129,14 @@
129
"name": "variable.other.nushell"
130
}
131
]
132
+ },
133
+ "2": {
134
+ "name": "variable.other.nushell"
135
136
137
138
"variable-fields": {
- "match": "(?<=\\)|\\}|\\]|\\$\\w+)(?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+",
139
+ "match": "(?<=\\)|\\}|\\])(?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+",
140
141
142
"internal-variables": {
0 commit comments