mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 10:50:26 +01:00
Merge pull request #308 from G-Rath/patch-6
fix(php): only highlight the spaces that are trailing
This commit is contained in:
commit
1240f5e2f2
|
@ -37,6 +37,6 @@ color red "(<\?(php)?|\?>)"
|
||||||
# General HTML
|
# General HTML
|
||||||
color red start="\?>" end="<\?(php|=)?"
|
color red start="\?>" end="<\?(php|=)?"
|
||||||
# trailing whitespace
|
# trailing whitespace
|
||||||
color ,green "[^[:space:]]{1}[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
# multi-line comments
|
# multi-line comments
|
||||||
color brightyellow start="/\*" end="\*/"
|
color brightyellow start="/\*" end="\*/"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user