Skip to content

Commit

Permalink
fix(php): only highlight the spaces that are trailing
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Apr 30, 2020
1 parent 2c00b96 commit 1ef8583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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="\*/"

0 comments on commit 1ef8583

Please sign in to comment.