mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 17:00:09 -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 ( ? : )
|
; Conditions ( ? : )
|
||||||
(conditional_expression) @conditional
|
(conditional_expression) @conditional
|
||||||
|
|
||||||
|
; Directives
|
||||||
|
(declare_directive "strict_types" @preproc)
|
||||||
|
(declare_directive "ticks" @preproc)
|
||||||
|
(declare_directive "encoding" @preproc)
|
||||||
|
|
||||||
; Basic tokens
|
; Basic tokens
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
@ -219,6 +225,7 @@
|
||||||
[
|
[
|
||||||
","
|
","
|
||||||
";"
|
";"
|
||||||
|
":"
|
||||||
] @punctuation.delimiter
|
] @punctuation.delimiter
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue