mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
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.
This commit is contained in:
parent
cf16158513
commit
b64de43467
27 changed files with 29 additions and 29 deletions
|
|
@ -8,4 +8,4 @@ color red "[=;]"
|
|||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
||||
color ,green "[[:space:]]+$"
|
||||
color ,red " +"
|
||||
color ,red " + +| + +"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue