1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 00:25:39 +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:
Anthony Scopatz 2020-05-12 12:30:02 -04:00 committed by GitHub
commit 1240f5e2f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="\*/"