Files
zyedidia.micro/runtime/syntax/keymap.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
371 B
Plaintext

syntax "keymap" "\.(k|key)?map$|Xmodmap$"
color statement "\b(add|clear|compose|keycode|keymaps|keysym|remove|string)\b"
color identifier "\b(control|alt|shift)\b"
color constant.number "\b[0-9]+\b"
color symbol "="
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "^!.*$"
color indent-char.whitespace "[[:space:]]+$"
color indent-char " + +| + +"