mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 12:25:53 +01: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
|
@ -19,3 +19,6 @@ color brightwhite ":(\s|\t|$)"
|
||||||
|
|
||||||
# Comments
|
# Comments
|
||||||
color brightblue "(^|[[:space:]])#.*$"
|
color brightblue "(^|[[:space:]])#.*$"
|
||||||
|
|
||||||
|
# Trailing whitespace
|
||||||
|
color ,red "[[:space:]]+$"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user