diff --git a/syntaxes/nushell.tmLanguage.json b/syntaxes/nushell.tmLanguage.json index 3d119cc..8f855c0 100644 --- a/syntaxes/nushell.tmLanguage.json +++ b/syntaxes/nushell.tmLanguage.json @@ -20,8 +20,8 @@ { "include": "#string-double-quote" }, { "include": "#string-interpolated-double" }, { "include": "#string-interpolated-single" }, - { "include": "#string-bare" }, - { "include": "#string-raw" } + { "include": "#string-raw" }, + { "include": "#string-bare" } ] }, "string-escape": { @@ -29,11 +29,11 @@ "name": "constant.character.escape.nushell" }, "string-bare": { - "match": "[^$\\[{(\"',|#\\s|][^\\[\\]{}()\"'\\s#,|]*", + "match": "[^$\\[{(\"',|#\\s|;][^\\[\\]{}()\"'\\s,|;]*", "name": "string.bare.nushell" }, "string-raw": { - "begin": "(?<=r)(#+)'", + "begin": "r(#+)'", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.nushell" } }, @@ -167,7 +167,7 @@ "name": "constant.numeric.nushell" }, "numbers": { - "match": "(?