Skip to content

Commit e265e1b

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 0be89a0 + 18c5541 commit e265e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/nushell.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"name": "variable.parameter.nushell"
120120
},
121121
"variables": {
122-
"match": "(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+)",
122+
"match": "(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))*)",
123123
"captures": {
124124
"1": {
125125
"patterns": [
@@ -523,7 +523,7 @@
523523
},
524524

525525
"command": {
526-
"begin": "(?<!\\w)(?:(\\^)|(?![0-9]))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?<=\\^)\\$?(?:\"[^\"]+\"|'[^']+'))",
526+
"begin": "(?<!\\w)(?:(\\^)|(?![0-9]|\\$))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?<=\\^)\\$?(?:\"[^\"]+\"|'[^']+'))",
527527
"beginCaptures": {
528528
"1": { "name": "keyword.operator.nushell" },
529529
"2": {

0 commit comments

Comments
 (0)