fix qqstring rule in lean-mode
This commit is contained in:
parent
27ad846641
commit
49ff504639
1 changed files with 1 additions and 3 deletions
|
|
@ -106,9 +106,7 @@ var leanHighlightRules = function() {
|
||||||
stateName: "qqstring",
|
stateName: "qqstring",
|
||||||
token : "string.start", regex : '"', next : [
|
token : "string.start", regex : '"', next : [
|
||||||
{token : "string.end", regex : '"', next : "start"},
|
{token : "string.end", regex : '"', next : "start"},
|
||||||
{token : "string", regex : "\\\\$", next : "qqstring"},
|
{token : "constant.language.escape", regex : /\\[n"\\]/},
|
||||||
{token : "string", regex : "\\n$", next : "qqstring"},
|
|
||||||
{token : "constant.language.escape", regex : /\\./},
|
|
||||||
{defaultToken: "string"}
|
{defaultToken: "string"}
|
||||||
]
|
]
|
||||||
}, {
|
}, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue