diff options
| author | Ananda Umamil <zweimach@zweimach.org> | 2023-01-23 13:39:34 +0700 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-01-28 01:45:54 +0100 |
| commit | 2ed316ccf47b1bc5a0693157e48a0282aedab051 (patch) | |
| tree | b27691c9f18ce05d6433ad0cd6fc4b765dee61f7 /queries/php | |
| parent | highlights(php): declare directives and `:` (diff) | |
| download | nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.tar nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.tar.gz nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.tar.bz2 nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.tar.lz nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.tar.xz nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.tar.zst nvim-treesitter-2ed316ccf47b1bc5a0693157e48a0282aedab051.zip | |
Apply the suggestion from @Lucario387
Co-authored-by: Lucario387 <hoangtun0810@gmail.com>
Diffstat (limited to 'queries/php')
| -rw-r--r-- | queries/php/highlights.scm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/queries/php/highlights.scm b/queries/php/highlights.scm index 53790f09a..3f57ee2c2 100644 --- a/queries/php/highlights.scm +++ b/queries/php/highlights.scm @@ -110,9 +110,7 @@ (conditional_expression) @conditional ; Directives -(declare_directive "strict_types" @preproc) -(declare_directive "ticks" @preproc) -(declare_directive "encoding" @preproc) +(declare_directive ["strict_types" "ticks" "encoding"] @preproc) ; Basic tokens |
