Merge remote-tracking branch 'krobelus/toml-triple-quoted-quote'
This commit is contained in:
commit
c6acf24eff
|
@ -35,10 +35,10 @@ provide-module toml %{
|
|||
add-highlighter shared/toml regions
|
||||
add-highlighter shared/toml/code default-region group
|
||||
add-highlighter shared/toml/comment region '#' $ fill comment
|
||||
add-highlighter shared/toml/string1 region '"""' (?<!\\)(\\\\)*""" fill string
|
||||
add-highlighter shared/toml/string2 region "'''" "'''" fill string
|
||||
add-highlighter shared/toml/string3 region '"' (?<!\\)(\\\\)*" fill string
|
||||
add-highlighter shared/toml/string4 region "'" "'" fill string
|
||||
add-highlighter shared/toml/string1 region '"""' (?<!\\)(\\\\)*"""(?!") fill string
|
||||
add-highlighter shared/toml/string2 region "'''" "'''(?!')" fill string
|
||||
add-highlighter shared/toml/string3 region '"' (?<!\\)(\\\\)*" fill string
|
||||
add-highlighter shared/toml/string4 region "'" "'" fill string
|
||||
|
||||
add-highlighter shared/toml/code/ regex \
|
||||
"^\h*\[\[?([A-Za-z0-9._-]*)\]\]?" 1:title
|
||||
|
|
Loading…
Reference in New Issue
Block a user