Highlight multiline strings in Elm
This commit is contained in:
parent
3232ba8a4c
commit
166049f128
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user