1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-30 23:37:17 +03:00

Merge remote-tracking branch 'rwpeterson/juliahl'

This commit is contained in:
Maxime Coste 2021-02-25 20:23:10 +11:00
commit 70548ecc14

View File

@ -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