From 1ef8583bae1c0d958bf26bb6ae25db0931552ce1 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 1 May 2020 10:22:23 +1200 Subject: [PATCH] fix(php): only highlight the spaces that are trailing --- php.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php.nanorc b/php.nanorc index 33f6f9a..de27228 100644 --- a/php.nanorc +++ b/php.nanorc @@ -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="\*/"