Mercurial > repos > other > linux
view nanorc.d/clojure.nanorc @ 84:b989099cde9f
Start to update Nano colourisation
Defaults are REALLY basic
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 31 Mar 2018 21:06:21 +0100 |
parents | |
children |
line wrap: on
line source
## Clojure Syntax Highlighting ## syntax "clojure" "\.((clj[s|c]?)|edn)" icolor green "defn? [0-9A-Z_]+" color brightgreen "[#']" color brightgreen "\<fn\>" color green "\<(map|reduce|filter|println)\>" color brightyellow "\<(if(-(let|not))?|condp?|when(-(let|not))?)\>" color brightyellow "\<(do(all|run|seq|sync)?|recur|loop)\>" color brightyellow "\<(try|catch|finally|throw)\>" color yellow "(\:else) " color brightcyan "\<(require|use|import|ns)\>" color cyan "(\:(require|use|import)) " color brightred "\<(let(fn)?|defn?)\>" color brightwhite "\((\/|((not|[<>\=])?\=?))" color brightwhite "\((\+|-|\*)'?" color brightwhite "\<(and|or|not|mod|quot|rem|inc|dec)\>" color magenta "[\(\)]" color magenta "(\[|\])" color yellow "\<(true|false|nil)\>" color brightyellow "(["][^"]*[^\\]["])|("")" color brightblue ";.*$" color ,green "[[:space:]]+$"