This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / clojure.nanorc
1 ## Clojure Syntax Highlighting
2 ##
3
4 syntax "clojure" "\.((clj[s|c]?)|edn)"
5
6 icolor green "defn? [0-9A-Z_]+"
7
8 color brightgreen "[#']"
9 color brightgreen "\<fn\>"
10 color green "\<(map|reduce|filter|println)\>"
11
12 color brightyellow "\<(if(-(let|not))?|condp?|when(-(let|not))?)\>"
13 color brightyellow "\<(do(all|run|seq|sync)?|recur|loop)\>"
14 color brightyellow "\<(try|catch|finally|throw)\>"
15 color yellow "(\:else) "
16
17 color brightcyan "\<(require|use|import|ns)\>"
18 color cyan "(\:(require|use|import)) "
19
20 color brightred "\<(let(fn)?|defn?)\>"
21 color brightwhite "\((\/|((not|[<>\=])?\=?))"
22 color brightwhite "\((\+|-|\*)'?"
23 color brightwhite "\<(and|or|not|mod|quot|rem|inc|dec)\>"
24
25 color magenta "[\(\)]"
26 color magenta "(\[|\])"
27
28 color yellow "\<(true|false|nil)\>"
29 color brightyellow "(["][^"]*[^\\]["])|("")"
30
31 color brightblue ";.*$"
32
33 color ,green "[[:space:]]+$"