mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-29 05:16:26 -04:00
* Added ct, git, glsl, json, pascal, sol, and text * ct * \n * Added dart, keymap, lily, mail, ocaml, r, and rest
23 lines
534 B
YAML
23 lines
534 B
YAML
filetype: keymap
|
|
|
|
detect:
|
|
filename: "\\.(k|key)?map$|Xmodmap$"
|
|
|
|
rules:
|
|
- cyan: "\\<(add|clear|compose|keycode|keymaps|keysym|remove|string)\\>"
|
|
- cyan: "\\<(control|alt|shift)\\>"
|
|
- blue: "\\<[0-9]+\\>"
|
|
- red: "="
|
|
- yellow:
|
|
start: "\""
|
|
end: "\""
|
|
rules:
|
|
- constant.specialChar: "\\\\."
|
|
- yellow:
|
|
start: "'"
|
|
end: "'"
|
|
rules:
|
|
- constant.specialChar: "\\\\."
|
|
- brightblack: "^!.*$"
|
|
- ,green: "[[:space:]]+$"
|
|
- ,red: " + +| + +" |