diff options
| author | Ananda Umamil <zweimach@zweimach.org> | 2023-01-23 11:09:39 +0700 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-01-28 01:45:54 +0100 |
| commit | fc596733ffbc534506a463b5f587fe678f9ecba2 (patch) | |
| tree | b304b96202768a7c4c57bbb5564f81b5aff25125 /queries/php | |
| parent | Update parsers: markdown, markdown_inline (diff) | |
| download | nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.tar nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.tar.gz nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.tar.bz2 nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.tar.lz nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.tar.xz nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.tar.zst nvim-treesitter-fc596733ffbc534506a463b5f587fe678f9ecba2.zip | |
highlights(php): declare directives and `:`
Diffstat (limited to 'queries/php')
| -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 [ |
