1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 08:35:39 +01:00

Extend ledger syntax to include beancount

This commit is contained in:
Simon Volpert 2015-06-17 19:33:00 +03:00
parent 57f37d5428
commit bd7da6b59e

View File

@ -1,7 +1,7 @@
syntax "ledger" "(^|\.|/)ledger$"
syntax "ledger" "(^|\.|/)ledger|beancount$"
color brightmagenta "^([0-9]{4}/[0-9]{2}/[0-9]{2}|[=~]) .*"
color blue "^[0-9]{4}/[0-9]{2}/[0-9]{2}"
color brightmagenta "^([0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}|[=~]) .*"
color blue "^[0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}"
color brightyellow "^~ .*"
color brightblue "^= .*"
color cyan "^[[:space:]]+\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?"