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"
},
{
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"
}