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 ]+)*\)?"