mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -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
|
(namespace_definition
|
||||||
name: (namespace_name) @namespace)
|
name: (namespace_name) @namespace)
|
||||||
|
|
||||||
|
; Attributes
|
||||||
|
(attribute_list) @attribute
|
||||||
|
|
||||||
; Conditions ( ? : )
|
; Conditions ( ? : )
|
||||||
(conditional_expression) @conditional
|
(conditional_expression) @conditional
|
||||||
; Basic tokens
|
; Basic tokens
|
||||||
|
|
@ -222,6 +225,7 @@
|
||||||
"]"
|
"]"
|
||||||
"{"
|
"{"
|
||||||
"}"
|
"}"
|
||||||
|
"#["
|
||||||
] @punctuation.bracket
|
] @punctuation.bracket
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue