Merge pull request #2502 from Pike/patch-1
Add array-of-tables to keygroup markup for toml files.
This commit is contained in:
commit
53ea1a8665
1 changed files with 5 additions and 1 deletions
|
|
@ -57,6 +57,10 @@ var TomlHighlightRules = function() {
|
||||||
regex : '"(?=.)',
|
regex : '"(?=.)',
|
||||||
next : "qqstring"
|
next : "qqstring"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
token: ["variable.keygroup.toml"],
|
||||||
|
regex: "(?:^\\s*)(\\[\\[([^\\]]+)\\]\\])"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
token: ["variable.keygroup.toml"],
|
token: ["variable.keygroup.toml"],
|
||||||
regex: "(?:^\\s*)(\\[([^\\]]+)\\])"
|
regex: "(?:^\\s*)(\\[([^\\]]+)\\])"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue