Fix up highlight rules

This commit is contained in:
Garen Torikian 2013-02-24 12:54:17 -08:00
commit 068fee994b

View file

@ -59,8 +59,8 @@ var TomlHighlightRules = function() {
next : "qqstring" next : "qqstring"
}, },
{ {
token: ["text", "variable.keygroup.toml"], token: ["variable.keygroup.toml"],
regex: /(?:^\\s*)(?:\\[([^\\]]+)\\])/ regex: "(?:^\\s*)(\\[([^\\]]+)\\])"
}, },
{ {
token : keywordMapper, token : keywordMapper,
@ -81,6 +81,11 @@ var TomlHighlightRules = function() {
regex : "\\\\$", regex : "\\\\$",
next : "qqstring", next : "qqstring",
}, },
{
token : "string",
regex : '"|$',
next : "start",
},
{ {
defaultToken: "string" defaultToken: "string"
} }