Color trailing whitespace green

This commit is contained in:
Elof 2016-12-06 22:04:38 +01:00 committed by GitHub
parent 64896f535d
commit d3d7b09738
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ color red "\<(true|false)\>"
color brightyellow "L?\"(\\"|[^"])*\""
color brightyellow "L?'(\'|[^'])*'"
## Trailing spaces
color ,green "[[:space:]]+$"
## Escapes
color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"