mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +09:00
Add syntax highlighting files
This commit is contained in:
10
syntax_files/ledger.micro
Normal file
10
syntax_files/ledger.micro
Normal file
@@ -0,0 +1,10 @@
|
||||
syntax "Ledger" "(^|\.|/)ledger|ldgr|beancount|bnct$"
|
||||
|
||||
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:]]+(![[:space:]]+)?\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?"
|
||||
color cyan "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z_-]+(:[A-Za-z_-]+)*\)?"
|
||||
color red "[*!]"
|
||||
color brightblack "^[[:space:]]*;.*"
|
||||
Reference in New Issue
Block a user