mirror of
https://github.com/scopatz/nanorc
synced 2024-12-24 14:34:50 +01:00
Add a red highlight to YAML lines with trailing whitespace
This commit is contained in:
parent
1d1c3aa712
commit
1b25243ee2
|
@ -19,3 +19,6 @@ color brightwhite ":(\s|\t|$)"
|
|||
|
||||
# Comments
|
||||
color brightblue "(^|[[:space:]])#.*$"
|
||||
|
||||
# Trailing whitespace
|
||||
color ,red "[[:space:]]+$"
|
||||
|
|
Loading…
Reference in New Issue
Block a user