mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(php): improve highlight for attributes
This commit is contained in:
parent
446a0538d6
commit
4d53ee5c05
1 changed files with 4 additions and 0 deletions
|
|
@ -103,6 +103,9 @@
|
|||
(namespace_definition
|
||||
name: (namespace_name) @namespace)
|
||||
|
||||
; Attributes
|
||||
(attribute_list) @attribute
|
||||
|
||||
; Conditions ( ? : )
|
||||
(conditional_expression) @conditional
|
||||
; Basic tokens
|
||||
|
|
@ -222,6 +225,7 @@
|
|||
"]"
|
||||
"{"
|
||||
"}"
|
||||
"#["
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue