mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 20:40:02 -04:00
improve php variables and $this highlights
This commit is contained in:
parent
8ef39cf691
commit
795508b773
1 changed files with 2 additions and 3 deletions
|
|
@ -96,8 +96,8 @@
|
|||
|
||||
(const_declaration (const_element (name) @constant))
|
||||
|
||||
((name) @variable.builtin
|
||||
(#eq? @variable.builtin "this"))
|
||||
((variable_name) @variable.builtin
|
||||
(#eq? @variable.builtin "$this"))
|
||||
|
||||
; Namespace
|
||||
(namespace_definition
|
||||
|
|
@ -142,7 +142,6 @@
|
|||
] @keyword.function
|
||||
|
||||
[
|
||||
"$"
|
||||
"abstract"
|
||||
"break"
|
||||
"class"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue