diff options
Diffstat (limited to 'queries/php/highlights.scm')
| -rw-r--r-- | queries/php/highlights.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index b754efd7f..53790f09a 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -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 [ |
