mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
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
10 lines
297 B
Text
10 lines
297 B
Text
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 " + +| + +"
|