Skip to content

Commit

Permalink
Merge pull request scopatz#308 from G-Rath/patch-6
Browse files Browse the repository at this point in the history
fix(php): only highlight the spaces that are trailing
  • Loading branch information
scopatz authored May 12, 2020
2 parents 2c00b96 + 1ef8583 commit 1240f5e
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 1240f5e

Please sign in to comment.