Mercurial > repos > other > linux
annotate nanorc.d/ledger.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 |
rev | line source |
---|---|
84 | 1 syntax "Ledger" "(^|\.|/)ledger|ldgr|beancount|bnct$" |
2 | |
3 color brightmagenta "^([0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}|[=~]) .*" | |
4 color blue "^[0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}" | |
5 color brightyellow "^~ .*" | |
6 color brightblue "^= .*" | |
7 color cyan "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?" | |
8 color cyan "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z_-]+(:[A-Za-z_-]+)*\)?" | |
9 color red "[*!]" | |
10 color brightblack "^[[:space:]]*;.*" |