Files
zyedidia.micro/runtime/syntax/ledger.micro
CaptainMcClellan d949b58fc0 Legacy syntax overhaul 2 (#577)
* Added title setting (Requires tcell pull!) and optimized tab display.

* Added Clojure highlighting.

* Changed tcell call to screen.

* Fixed bad reference for getting Buffer name.

* Yet another massive syntax overhaul

* Tweaking and testing web syntax

* More webdev goodies

* Added html5 highlighting and strict html4 highlighting.

* Documentation update
2017-03-03 11:47:03 -05:00

11 lines
444 B
Plaintext

syntax "ledger" "(^|\.|/)ledger|ldgr|beancount|bnct$"
color special "^([0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}|[=~]) .*"
color constant "^[0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}"
color statement "^~ .*"
color identifier.var "^= .*"
color identifier "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?"
color identifier "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z_\-]+(:[A-Za-z_\-]+)*\)?"
color symbol "[*!]"
color comment "^[[:space:]]*;.*"