1 syntax "ocaml" "\.mli?$"
3 color red "\<[A-Z][0-9a-z_]{2,}\>"
5 color green "\<(let|val|method|in|and|rec|private|virtual|constraint)\>"
7 color red "\<(type|open|class|module|exception|external)\>"
9 color blue "\<(fun|function|functor|match|try|with)\>"
11 color yellow "\<(as|when|of)\>"
13 color cyan "\<(if|then|else)\>"
15 color magenta "\<(begin|end|object|struct|sig|for|while|do|done|to|downto)\>"
17 color green "\<(true|false)\>"
19 color green "\<(include|inherit|initializer)\>"
21 color yellow "\<(new|ref|mutable|lazy|assert|raise)\>"
23 color white start="\(\*" end="\*\)"
24 #strings (no multiline handling yet)
25 color brightblack ""[^\"]*""