fix(php): only highlight the spaces that are trailing

This commit is contained in:
Gareth Jones 2020-05-01 10:22:23 +12:00 committed by GitHub
parent 2c00b969da
commit 1ef8583bae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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