Fixed issue with static classes with numbers
Inadvertently also resolved issues with static classes with underscores as well. Thanks to @kris89 for giving me a head's up where to look. Closes #2
This commit is contained in:
parent
e6ea831193
commit
40a8adb7f3
2 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ syn match phpMemberSelector "->" contained display
|
|||
syn match phpVarSelector "\$" contained display
|
||||
" highlight object variables inside strings
|
||||
syn match phpMethodsVar "->\h\w*" contained contains=phpMethods,phpMemberSelector display containedin=phpStringDouble
|
||||
syn match phpClasses "\v[A-Za-z]+(::)@=" contained display
|
||||
syn match phpClasses "\v\h\w+(::)@=" contained display
|
||||
|
||||
" Identifier
|
||||
syn match phpIdentifier "$\h\w*" contained contains=phpSuperglobals,phpVarSelector display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue