File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1653,18 +1653,12 @@ a completion list."
1653
1653
1654
1654
; ; Highlight special variables
1655
1655
(" \\ (\\ $\\ )\\ (this\\ |that\\ )\\ _>" (1 'php-$this-sigil ) (2 'php-$this ))
1656
- (" \\ (\\ $\\ )\\ ([a-zA-Z0-9_] +\\ )" (1 'php-variable-sigil ) (2 'php-variable-name ))
1656
+ (" \\ (\\ $+ \\ )\\ (\\ sw +\\ )" (1 'php-variable-sigil ) (2 'php-variable-name ))
1657
1657
(" \\ (->\\ )\\ ([a-zA-Z0-9_]+\\ )" (1 'php-object-op ) (2 'php-property-name ))
1658
1658
1659
1659
; ; Highlight function/method names
1660
1660
(" \\ <function\\ s-+&?\\ (\\ (?:\\ sw\\ |\\ s_\\ )+\\ )\\ s-*(" 1 'php-function-name )
1661
1661
1662
- ; ; The dollar sign should not get a variable-name face, below
1663
- ; ; pattern resets the face to default in case cc-mode sets the
1664
- ; ; variable-name face (cc-mode does this for variables prefixed
1665
- ; ; with type, like in arglist)
1666
- (" \\ (\\ $\\ )\\ (\\ sw+\\ )" 1 'php-variable-sigil )
1667
-
1668
1662
; ; 'array' and 'callable' are keywords, except in the following situations:
1669
1663
; ; - when used as a type hint
1670
1664
; ; - when used as a return type
You can’t perform that action at this time.
0 commit comments