mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge pull request #260 from G-Rath/patch-2
Highlight trailing whitespace
This commit is contained in:
commit
2f8c7aba4b
1 changed files with 3 additions and 0 deletions
|
|
@ -37,3 +37,6 @@ color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
|||
## Comments
|
||||
color magenta start="/\*" end="\*/"
|
||||
color magenta "//.*$"
|
||||
|
||||
## Trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue