mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01:00
Extend ledger syntax to include beancount
This commit is contained in:
parent
57f37d5428
commit
bd7da6b59e
|
@ -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 ]+)*\)?"
|
||||
|
|
Loading…
Reference in New Issue
Block a user