File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1653,18 +1653,12 @@ a completion list."
16531653
16541654 ; ; Highlight special variables
16551655 (" \\ (\\ $\\ )\\ (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 ))
16571657 (" \\ (->\\ )\\ ([a-zA-Z0-9_]+\\ )" (1 'php-object-op ) (2 'php-property-name ))
16581658
16591659 ; ; Highlight function/method names
16601660 (" \\ <function\\ s-+&?\\ (\\ (?:\\ sw\\ |\\ s_\\ )+\\ )\\ s-*(" 1 'php-function-name )
16611661
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-
16681662 ; ; 'array' and 'callable' are keywords, except in the following situations:
16691663 ; ; - when used as a type hint
16701664 ; ; - when used as a return type
You can’t perform that action at this time.
0 commit comments