Skip to content

Commit

Permalink
Include escape characters in highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Feb 12, 2024
1 parent f61542e commit 906258e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions syntaxes/vdf.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,25 @@
"name": "constant.character"
},
{
"match": "(\".*?\"|\\w+)\\s+(\".*?\"|\\w+)",
"match": "(\".*?\"|\\w+)\\s+(\".*\"|\\w+)",
"name": "variable",
"captures": {
"1": {
"name": "variable"
},
"2": {
"name": "string.quoted.double"
"name": "string.quoted.double",
"patterns": [
{
"match": "\\\\[\"\\\\/bfnrt]",
"name": "constant.character.escape"
}
]
}
}
},
{
"match": "(\".*?\"|\\b\\w+\\b)",
"match": "(\".*\"|\\b\\w+\\b)",
"name": "variable"
}
],
Expand Down

0 comments on commit 906258e

Please sign in to comment.