mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-23 07:15:52 +03:00
rc julia: add multiline comments
This commit is contained in:
parent
27b5aec358
commit
c457c2b1c1
@ -29,7 +29,8 @@ provide-module julia %{
|
||||
add-highlighter shared/julia regions
|
||||
add-highlighter shared/julia/code default-region group
|
||||
add-highlighter shared/julia/string region '"' (?<!\\)(\\\\)*" fill string
|
||||
add-highlighter shared/julia/comment region '#' '$' fill comment
|
||||
add-highlighter shared/julia/comment region -recurse '#=' '#=' '=#' fill comment
|
||||
add-highlighter shared/julia/line_comment region '#' '$' fill comment
|
||||
|
||||
# taken from https://github.com/JuliaLang/julia/blob/master/contrib/julia-mode.el
|
||||
add-highlighter shared/julia/code/ regex %{\b(true|false|C_NULL|Inf|NaN|Inf32|NaN32|nothing|\b-?\d+[fdiu]?)\b} 0:value
|
||||
|
Loading…
Reference in New Issue
Block a user