File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1550,7 +1550,7 @@ a completion list."
1550
1550
(" \\ (\\ $\\ )\\ (this\\ )\\ >" (1 'php-$this-sigil ) (2 'php-$this ))
1551
1551
(" \\ (\\ $+\\ )\\ (\\ sw+\\ )" (1 'php-variable-sigil ) (2 'php-variable-name ))
1552
1552
(" \\ (->\\ )\\ ([a-zA-Z0-9_]+\\ )" (1 'php-object-op ) (2 'php-property-name ))
1553
-
1553
+
1554
1554
; ; Highlight function/method names
1555
1555
(" \\ <function\\ s-+&?\\ (\\ (?:\\ sw\\ |\\ s_\\ )+\\ )\\ s-*(" 1 'php-function-name )
1556
1556
@@ -1625,7 +1625,7 @@ a completion list."
1625
1625
1626
1626
; ; Highlight class name after "use .. as"
1627
1627
(" \\ <as\\ s-+\\ (\\ sw+\\ )" 1 font-lock-type-face )
1628
-
1628
+
1629
1629
; ; Class names are highlighted by cc-mode as defined in
1630
1630
; ; c-class-decl-kwds, below regexp is a workaround for a bug
1631
1631
; ; where the class names are not highlighted right after opening
@@ -1670,8 +1670,7 @@ a completion list."
1670
1670
1671
1671
; ; Logical operators (and, or, &&, ...)
1672
1672
; ; Not operator (!) is defined in "before cc-mode" section above.
1673
- (" \\ (&&\\ |\|\| \\ )" 1 'php-logical-op )
1674
- ))
1673
+ (" \\ (&&\\ |||\\ )" 1 'php-logical-op )))
1675
1674
" Detailed highlighting for PHP Mode." )
1676
1675
1677
1676
(defvar php-font-lock-keywords php-font-lock-keywords-3
You can’t perform that action at this time.
0 commit comments