1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-21 16:15:40 +01:00

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

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'"\?\\]"