highlights(php): declare directives and :

This commit is contained in:
Ananda Umamil 2023-01-23 11:09:39 +07:00 committed by Stephan Seitz
parent 14a360c72d
commit fc596733ff

View file

@ -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
[ [