mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 05:22:27 +03:00
Added runes to be highlighted.
This commit is contained in:
parent
5e3b72b0e5
commit
0190164e7e
107
syntax/hoon.vim
107
syntax/hoon.vim
@ -20,6 +20,113 @@ hi def link hoonBranch Conditional
|
|||||||
hi def link hoonType Type
|
hi def link hoonType Type
|
||||||
hi def link hoonName Constant
|
hi def link hoonName Constant
|
||||||
|
|
||||||
|
syn match hoonRune "||"
|
||||||
|
syn match hoonRune "|_"
|
||||||
|
syn match hoonRune "|%"
|
||||||
|
syn match hoonRune "|:"
|
||||||
|
syn match hoonRune "|\."
|
||||||
|
syn match hoonRune "|-"
|
||||||
|
syn match hoonRune "|\^"
|
||||||
|
syn match hoonRune "|+"
|
||||||
|
syn match hoonRune "|\*"
|
||||||
|
syn match hoonRune "|="
|
||||||
|
syn match hoonRune "|?"
|
||||||
|
syn match hoonRune "%_"
|
||||||
|
syn match hoonRune "%:"
|
||||||
|
syn match hoonRune "%\."
|
||||||
|
syn match hoonRune "%\^"
|
||||||
|
syn match hoonRune "%+"
|
||||||
|
syn match hoonRune "%-"
|
||||||
|
syn match hoonRune "%\~"
|
||||||
|
syn match hoonRune "%\*"
|
||||||
|
syn match hoonRune "%="
|
||||||
|
syn match hoonRune "\$|"
|
||||||
|
syn match hoonRune "\$_"
|
||||||
|
syn match hoonRune "\$:"
|
||||||
|
syn match hoonRune "\$%"
|
||||||
|
syn match hoonRune "\$,"
|
||||||
|
syn match hoonRune "\$&"
|
||||||
|
syn match hoonRune "\$?"
|
||||||
|
syn match hoonRune ":_"
|
||||||
|
syn match hoonRune ":\~"
|
||||||
|
syn match hoonRune ":/"
|
||||||
|
syn match hoonRune ":\^"
|
||||||
|
syn match hoonRune ":+"
|
||||||
|
syn match hoonRune ":-"
|
||||||
|
syn match hoonRune ":\~"
|
||||||
|
syn match hoonRune ":\*"
|
||||||
|
syn match hoonRune "\.+"
|
||||||
|
syn match hoonRune "\.\*"
|
||||||
|
syn match hoonRune "\.="
|
||||||
|
syn match hoonRune "\.?"
|
||||||
|
syn match hoonRune "\.\^"
|
||||||
|
syn match hoonRune "#<"
|
||||||
|
syn match hoonRune "#>"
|
||||||
|
syn match hoonRune "\^|"
|
||||||
|
syn match hoonRune "\^\."
|
||||||
|
syn match hoonRune "\^-"
|
||||||
|
syn match hoonRune "\^+"
|
||||||
|
syn match hoonRune "\^&"
|
||||||
|
syn match hoonRune "\^\~"
|
||||||
|
syn match hoonRune "\^="
|
||||||
|
syn match hoonRune "\^?"
|
||||||
|
syn match hoonRune "\~|"
|
||||||
|
syn match hoonRune "\~\$"
|
||||||
|
syn match hoonRune "\~%"
|
||||||
|
syn match hoonRune "\~:"
|
||||||
|
syn match hoonRune "\~/"
|
||||||
|
syn match hoonRune "\~<"
|
||||||
|
syn match hoonRune "\~>"
|
||||||
|
syn match hoonRune "\~#"
|
||||||
|
syn match hoonRune "\~\^"
|
||||||
|
syn match hoonRune "\~+"
|
||||||
|
syn match hoonRune "\~&"
|
||||||
|
syn match hoonRune "\~="
|
||||||
|
syn match hoonRune "\~!"
|
||||||
|
syn match hoonRune ";_"
|
||||||
|
syn match hoonRune ";,"
|
||||||
|
syn match hoonRune ";%"
|
||||||
|
syn match hoonRune ";:"
|
||||||
|
syn match hoonRune ";\."
|
||||||
|
syn match hoonRune ";<"
|
||||||
|
syn match hoonRune ";>"
|
||||||
|
syn match hoonRune ";-"
|
||||||
|
syn match hoonRune ";+"
|
||||||
|
syn match hoonRune ";&"
|
||||||
|
syn match hoonRune ";\~"
|
||||||
|
syn match hoonRune ";;"
|
||||||
|
syn match hoonRune ";\*"
|
||||||
|
syn match hoonRune ";="
|
||||||
|
syn match hoonRune ";?"
|
||||||
|
syn match hoonRune "=|"
|
||||||
|
syn match hoonRune "=\."
|
||||||
|
syn match hoonRune "=\^"
|
||||||
|
syn match hoonRune "=:"
|
||||||
|
syn match hoonRune "=<"
|
||||||
|
syn match hoonRune "=>"
|
||||||
|
syn match hoonRune "=-"
|
||||||
|
syn match hoonRune "=+"
|
||||||
|
syn match hoonRune "=\~"
|
||||||
|
syn match hoonRune "?|"
|
||||||
|
syn match hoonRune "?:"
|
||||||
|
syn match hoonRune "?\."
|
||||||
|
syn match hoonRune "?<"
|
||||||
|
syn match hoonRune "?>"
|
||||||
|
syn match hoonRune "?-"
|
||||||
|
syn match hoonRune "?\^"
|
||||||
|
syn match hoonRune "?="
|
||||||
|
syn match hoonRune "?+"
|
||||||
|
syn match hoonRune "?&"
|
||||||
|
syn match hoonRune "?@"
|
||||||
|
syn match hoonRune "?\~"
|
||||||
|
syn match hoonRune "?!"
|
||||||
|
syn match hoonRune "!:"
|
||||||
|
syn match hoonRune "!,"
|
||||||
|
syn match hoonRune "!;"
|
||||||
|
syn match hoonRune "!\^"
|
||||||
|
syn match hoonRune "!>"
|
||||||
|
syn match hoonRune "!="
|
||||||
|
|
||||||
syn match hoonDeclaration "++" nextgroup=hoonSymbolDec skipwhite
|
syn match hoonDeclaration "++" nextgroup=hoonSymbolDec skipwhite
|
||||||
syn match hoonBranch /?[^\w\s]/
|
syn match hoonBranch /?[^\w\s]/
|
||||||
syn match hoonSymbol /%\w*/
|
syn match hoonSymbol /%\w*/
|
||||||
|
Loading…
Reference in New Issue
Block a user