aboutsummaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--lockfile.json2
-rw-r--r--queries/query/highlights.scm4
2 files changed, 5 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json
index d85d43ea1..5c65971ae 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -111,7 +111,7 @@
"revision": "965948cce9a94a710b1339851e0919471ad5ee2c"
},
"query": {
- "revision": "f895b8eee4e14c5e81ea277d866e5f1625167369"
+ "revision": "d558801c7f11d9a4d9ed119480f8a5d2a49d61d6"
},
"r": {
"revision": "9a7f8d6429a48116f4c757ec0abbe42ac87c1f8e"
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\ *:"))