Merge remote-tracking branch 'krobelus/toml-triple-quoted-quote'

This commit is contained in:
Maxime Coste 2022-06-30 19:50:00 +10:00
commit c6acf24eff

View File

@ -35,8 +35,8 @@ 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/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