Skip to content

Commit

Permalink
Merge pull request scopatz#326 from Gaibhne/master
Browse files Browse the repository at this point in the history
Add a red highlight to YAML lines with trailing whitespace
  • Loading branch information
scopatz committed Aug 14, 2020
2 parents 1d1c3aa + 1b25243 commit f92db0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yaml.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ color brightwhite ":(\s|\t|$)"

# Comments
color brightblue "(^|[[:space:]])#.*$"

# Trailing whitespace
color ,red "[[:space:]]+$"

0 comments on commit f92db0d

Please sign in to comment.