mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 16:45:40 +01:00
bba53c3940
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
11 lines
318 B
Plaintext
11 lines
318 B
Plaintext
syntax "Keymap" "\.(k|key)?map$|Xmodmap$"
|
|
|
|
color cyan "\<(add|clear|compose|keycode|keymaps|keysym|remove|string)\>"
|
|
color cyan "\<(control|alt|shift)\>"
|
|
color blue "\<[0-9]+\>"
|
|
color red "="
|
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
color brightblack "^!.*$"
|
|
color ,green "[[:space:]]+$"
|
|
color ,red " + +| + +"
|