mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge pull request #326 from Gaibhne/master
Add a red highlight to YAML lines with trailing whitespace
This commit is contained in:
commit
f92db0db98
1 changed files with 3 additions and 0 deletions
|
|
@ -19,3 +19,6 @@ color brightwhite ":(\s|\t|$)"
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
color brightblue "(^|[[:space:]])#.*$"
|
color brightblue "(^|[[:space:]])#.*$"
|
||||||
|
|
||||||
|
# Trailing whitespace
|
||||||
|
color ,red "[[:space:]]+$"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue