mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 10:50:26 +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
297 B
Plaintext
11 lines
297 B
Plaintext
syntax "Xresources" "X(defaults|resources)$"
|
|
|
|
color green "^[[:alnum:]]+\*"
|
|
color brightyellow "\*[[:alnum:]]+\:"
|
|
color blue "\<[0-9]+\>"
|
|
color red "[*:=]"
|
|
color brightcyan "\<(true|false)\>"
|
|
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
|
color ,green "[[:space:]]+$"
|
|
color ,red " + +| + +"
|