diff options
Diffstat (limited to 'doc/syntax/ocaml.nanorc')
-rw-r--r-- | doc/syntax/ocaml.nanorc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/syntax/ocaml.nanorc b/doc/syntax/ocaml.nanorc index fc71ae2..8decb72 100644 --- a/doc/syntax/ocaml.nanorc +++ b/doc/syntax/ocaml.nanorc @@ -1,6 +1,7 @@ -# OCaml sample nanorc -# +## Syntax highlighting for OCaml. + syntax "ocaml" "\.mli?$" + #uid color red "\<[A-Z][0-9a-z_]{2,}\>" #declarations @@ -10,7 +11,7 @@ color red "\<(type|open|class|module|exception|external)\>" #patterns color blue "\<(fun|function|functor|match|try|with)\>" #patterns-modifiers -color yellow "\<(as|when|of)\>" +color yellow "\<(as|when|of)\>" #conditions color cyan "\<(if|then|else)\>" #blocs |