mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(php): highlight traits names as type
This commit is contained in:
parent
6ef19f9d9d
commit
c0783485e8
1 changed files with 2 additions and 0 deletions
|
|
@ -27,6 +27,8 @@
|
|||
(class_constant_access_expression
|
||||
. [(name) (qualified_name)] @type
|
||||
(name) @constant)
|
||||
(trait_declaration
|
||||
name: (name) @type)
|
||||
|
||||
; Functions, methods, constructors
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue