mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -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))
|
(const_declaration (const_element (name) @constant))
|
||||||
|
|
||||||
((name) @variable.builtin
|
((variable_name) @variable.builtin
|
||||||
(#eq? @variable.builtin "this"))
|
(#eq? @variable.builtin "$this"))
|
||||||
|
|
||||||
; Namespace
|
; Namespace
|
||||||
(namespace_definition
|
(namespace_definition
|
||||||
|
|
@ -142,7 +142,6 @@
|
||||||
] @keyword.function
|
] @keyword.function
|
||||||
|
|
||||||
[
|
[
|
||||||
"$"
|
|
||||||
"abstract"
|
"abstract"
|
||||||
"break"
|
"break"
|
||||||
"class"
|
"class"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue