Commit 534e2438 authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina Committed by Fabián Ezequiel Gallina

Fixed incorrect syntax highlighting for variable assignations

parent 14d9f80c
......@@ -278,7 +278,8 @@
(when (re-search-forward re limit t)
(while (and (not (equal (nth 0 (syntax-ppss)) 0))
(re-search-forward re limit t)))
(if (equal (nth 0 (syntax-ppss)) 0)
(if (and (equal (nth 0 (syntax-ppss)) 0)
(not (equal (char-after (point-marker)) ?=)))
(set-match-data nil)))))
(1 font-lock-variable-name-face nil nil))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment