mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(php): declare directives and :
This commit is contained in:
parent
14a360c72d
commit
fc596733ff
1 changed files with 7 additions and 0 deletions
|
|
@ -108,6 +108,12 @@
|
|||
|
||||
; Conditions ( ? : )
|
||||
(conditional_expression) @conditional
|
||||
|
||||
; Directives
|
||||
(declare_directive "strict_types" @preproc)
|
||||
(declare_directive "ticks" @preproc)
|
||||
(declare_directive "encoding" @preproc)
|
||||
|
||||
; Basic tokens
|
||||
|
||||
[
|
||||
|
|
@ -219,6 +225,7 @@
|
|||
[
|
||||
","
|
||||
";"
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue