mirror of
https://github.com/scopatz/nanorc
synced 2024-11-21 16:15:40 +01:00
fix(php): only highlight the spaces that are trailing
This commit is contained in:
parent
2c00b969da
commit
1ef8583bae
@ -37,6 +37,6 @@ color red "(<\?(php)?|\?>)"
|
||||
# General HTML
|
||||
color red start="\?>" end="<\?(php|=)?"
|
||||
# trailing whitespace
|
||||
color ,green "[^[:space:]]{1}[[:space:]]+$"
|
||||
color ,green "[[:space:]]+$"
|
||||
# multi-line comments
|
||||
color brightyellow start="/\*" end="\*/"
|
||||
|
Loading…
Reference in New Issue
Block a user