aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-10-17 20:06:19 +0300
committerObserverOfTime <chronobserver@disroot.org>2022-11-26 13:17:51 +0200
commit54ca5ae2f024769d09e764a8048c2289a71328b7 (patch)
treee60f8c2229f80ff0a1323b0caa3868a0f135cd79 /queries
parenthighlights(ruby): fix captures (diff)
downloadnvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.tar
nvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.tar.gz
nvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.tar.bz2
nvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.tar.lz
nvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.tar.xz
nvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.tar.zst
nvim-treesitter-54ca5ae2f024769d09e764a8048c2289a71328b7.zip
highlights(gitattributes): fix captures
Diffstat (limited to 'queries')
-rw-r--r--queries/gitattributes/highlights.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/gitattributes/highlights.scm b/queries/gitattributes/highlights.scm
index ecd410972..73ec71438 100644
--- a/queries/gitattributes/highlights.scm
+++ b/queries/gitattributes/highlights.scm
@@ -1,15 +1,15 @@
(dir_sep) @punctuation.delimiter
-(wildcard) @punctuation.special
-
(quoted_pattern
- ("\"" @character.special))
+ ("\"" @punctuation.special))
(range_notation) @string.special
(range_notation
[ "[" "]" ] @punctuation.bracket)
+(wildcard) @character.special
+
(range_negation) @operator
(character_class) @constant