aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-09-07 18:14:54 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2020-09-11 12:02:35 +0200
commitb90e520ccdbb9d88fb4f7e7a7eea73de196c856c (patch)
tree0ec450938bff4399dfdfc3c68a7ebdff1edf9e3c /queries/cpp
parentci: check capture names in queries (diff)
downloadnvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.tar
nvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.tar.gz
nvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.tar.bz2
nvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.tar.lz
nvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.tar.xz
nvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.tar.zst
nvim-treesitter-b90e520ccdbb9d88fb4f7e7a7eea73de196c856c.zip
ci: fix wrong queries
Diffstat (limited to 'queries/cpp')
-rw-r--r--queries/cpp/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index 38bb7f2fd..0b727c3ad 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -124,6 +124,6 @@
; Annotations (not fully supported by parser)
-((ERROR) @annotation
- (vim-match? @annotation "\[?\[.*\]\]?.*$"))
-(attribute) @annotation
+((ERROR) @attribute
+ (vim-match? @attribute "\[?\[.*\]\]?.*$"))
+(attribute) @attribute