From c9935112c8b66e23d2acd7584fecd8e99a281b14 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 25 Apr 2011 12:22:55 -0400 Subject: .compizsnap, .nanorc Track .compizsnap/* files (hurpdurp), only tracked the directory before. Use *.nanorc files from the nano 2.2.6 distribution. --- share/nano/ocaml.nanorc | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 share/nano/ocaml.nanorc (limited to 'share/nano/ocaml.nanorc') diff --git a/share/nano/ocaml.nanorc b/share/nano/ocaml.nanorc new file mode 100644 index 0000000..fc71ae2 --- /dev/null +++ b/share/nano/ocaml.nanorc @@ -0,0 +1,27 @@ +# OCaml sample nanorc +# +syntax "ocaml" "\.mli?$" +#uid +color red "\<[A-Z][0-9a-z_]{2,}\>" +#declarations +color green "\<(let|val|method|in|and|rec|private|virtual|constraint)\>" +#structure items +color red "\<(type|open|class|module|exception|external)\>" +#patterns +color blue "\<(fun|function|functor|match|try|with)\>" +#patterns-modifiers +color yellow "\<(as|when|of)\>" +#conditions +color cyan "\<(if|then|else)\>" +#blocs +color magenta "\<(begin|end|object|struct|sig|for|while|do|done|to|downto)\>" +#constantes +color green "\<(true|false)\>" +#modules/classes +color green "\<(include|inherit|initializer)\>" +#expr modifiers +color yellow "\<(new|ref|mutable|lazy|assert|raise)\>" +#comments +color white start="\(\*" end="\*\)" +#strings (no multiline handling yet) +color brightblack ""[^\"]*"" -- cgit v1.2.3-54-g00ecf