Skip to content

Commit 8c05fcd

Browse files
committed
record key string more permissive
1 parent c9a3027 commit 8c05fcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntaxes/nushell.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@
405405
"name": "meta.expression.braced.nushell",
406406
"patterns": [
407407
{
408-
"begin": "((?:\\w+|\\$?(?:\"[^\"]+\"|'[^']+'))(?:\\.(?:\\w+|\"[\\w ]+\"|'[^']+'))*)\\s*(:)\\s*",
408+
"begin": "((?:(?:[^$\\(\\{\\[\"'#\\s][^\\(\\{\\[\"'#\\s]*)|\\$?(?:\"[^\"]+\"|'[^']+')))\\s*(:)\\s*",
409409
"beginCaptures": {
410410
"1": {
411411
"name": "variable.other.nushell",

0 commit comments

Comments
 (0)