nanorc/xresources.nanorc
Jody Leonard b64de43467 Change tab coloring behavior for several rc's
The commit mariuszs/nanorc@e5cc8be863
introduced a number of rc files that cause tabs to always show as red
(even with trailing spaces). Adjust the behavior according to changes in
https://github.com/nanorc/nanorc/blob/master/mixins/lint.nanorc, which
seems to be an updated source of the original commit. Make tabs appear
green without trailing characters, red with trailing spaces, and
uncolored when followed by any other character.
2015-10-24 06:58:36 -04:00

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 " + +| + +"