diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2022-10-22 18:23:22 +0300 |
|---|---|---|
| committer | ObserverOfTime <chronobserver@disroot.org> | 2022-11-26 13:17:51 +0200 |
| commit | 8034ae85dba741209630dcb45937677f99f3159f (patch) | |
| tree | 75403596b822f434e26c47fa7670e324160391dc | |
| parent | highlights(tiger): fix captures (diff) | |
| download | nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.tar nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.tar.gz nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.tar.bz2 nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.tar.lz nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.tar.xz nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.tar.zst nvim-treesitter-8034ae85dba741209630dcb45937677f99f3159f.zip | |
highlights(twig): fix captures
| -rw-r--r-- | queries/twig/highlights.scm | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/queries/twig/highlights.scm b/queries/twig/highlights.scm index 2fbd01715..ca2b380fa 100644 --- a/queries/twig/highlights.scm +++ b/queries/twig/highlights.scm @@ -41,20 +41,11 @@ "=" ] @punctuation.delimiter -(interpolated_string [ - "#{" - "}" -] @punctuation.delimiter) +(interpolated_string ["#{" "}"] @punctuation.special) [ - "(" - ")" - "[" - "]" - "{" + "(" ")" + "[" "]" ] @punctuation.bracket -(hash [ - "}" -] @punctuation.bracket) - +(hash ["{" "}"] @punctuation.bracket) |
