aboutsummaryrefslogtreecommitdiffstats
path: root/queries/query
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-04-10 15:18:44 -0500
committerGitHub <noreply@github.com>2021-04-10 15:18:44 -0500
commit2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308 (patch)
treed2c88af0a1fa2fb00d7b83171319a4bbf7901e95 /queries/query
parentAdd support for Java records (diff)
downloadnvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.tar
nvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.tar.gz
nvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.tar.bz2
nvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.tar.lz
nvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.tar.xz
nvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.tar.zst
nvim-treesitter-2a946ddc7efaa4d1ef64342ca0d014bf5c6f2308.zip
Query: update highlights (#1175)
Diffstat (limited to 'queries/query')
-rw-r--r--queries/query/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm
index 2ada07342..7e29c4c46 100644
--- a/queries/query/highlights.scm
+++ b/queries/query/highlights.scm
@@ -12,6 +12,8 @@
(quantifier) @operator
(predicate_type) @punctuation.special
+"." @operator
+
[
"["
"]"
@@ -19,5 +21,7 @@
")"
] @punctuation.bracket
+":" @punctuation.delimiter
+
((program . (comment) @include)
(#match? @include "^;\ +inherits\ *:"))