Fix up highlight rules
This commit is contained in:
parent
f2e523b0b4
commit
068fee994b
1 changed files with 7 additions and 2 deletions
|
|
@ -59,8 +59,8 @@ var TomlHighlightRules = function() {
|
|||
next : "qqstring"
|
||||
},
|
||||
{
|
||||
token: ["text", "variable.keygroup.toml"],
|
||||
regex: /(?:^\\s*)(?:\\[([^\\]]+)\\])/
|
||||
token: ["variable.keygroup.toml"],
|
||||
regex: "(?:^\\s*)(\\[([^\\]]+)\\])"
|
||||
},
|
||||
{
|
||||
token : keywordMapper,
|
||||
|
|
@ -81,6 +81,11 @@ var TomlHighlightRules = function() {
|
|||
regex : "\\\\$",
|
||||
next : "qqstring",
|
||||
},
|
||||
{
|
||||
token : "string",
|
||||
regex : '"|$',
|
||||
next : "start",
|
||||
},
|
||||
{
|
||||
defaultToken: "string"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue