Highlight multiline strings in Elm

This commit is contained in:
lePerdu 2019-11-10 18:12:17 -05:00
parent 3232ba8a4c
commit 166049f128

View File

@ -37,6 +37,7 @@ provide-module elm %[
add-highlighter shared/elm regions add-highlighter shared/elm regions
add-highlighter shared/elm/code default-region group add-highlighter shared/elm/code default-region group
add-highlighter shared/elm/multiline_string region '"""' '"""' fill string
add-highlighter shared/elm/string region '"' (?<!\\)(\\\\)*" fill string add-highlighter shared/elm/string region '"' (?<!\\)(\\\\)*" fill string
add-highlighter shared/elm/line_comment region (--) $ fill comment add-highlighter shared/elm/line_comment region (--) $ fill comment
add-highlighter shared/elm/comment region -recurse \{- \{- -\} fill comment add-highlighter shared/elm/comment region -recurse \{- \{- -\} fill comment