branch: externals/phps-mode commit 3332b2bfa9a3fca0c308e565b48a600568dd5a28 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Fixes syntax coloring of super-globals --- phps-mode-lex-analyzer.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phps-mode-lex-analyzer.el b/phps-mode-lex-analyzer.el index dc1ec31bee..1f94cca127 100644 --- a/phps-mode-lex-analyzer.el +++ b/phps-mode-lex-analyzer.el @@ -164,9 +164,9 @@ (cond ((when bookkeeping-value - (if (> bookkeeping-value 0) - 'font-lock-variable-name-face - 'font-lock-warning-face))) + (if (= bookkeeping-value 0) + 'font-lock-warning-face + 'font-lock-variable-name-face))) ((when-let ((face (gethash