summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hoffmann <mhoffm@posteo.de>2023-07-22 14:41:43 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-07-27 10:22:14 +0200
commit0b0e4601808c2a526abd073e781d41bd50e462b9 (patch)
tree5caeb59f11b14364506b1ef65dbab754575a4b9a
parentfix(c)!: update C, CPP parsers and queries (diff)
downloadnvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.tar
nvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.tar.gz
nvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.tar.bz2
nvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.tar.lz
nvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.tar.xz
nvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.tar.zst
nvim-treesitter-0b0e4601808c2a526abd073e781d41bd50e462b9.zip
fix(promql): bump parser, fix queries
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
-rw-r--r--lockfile.json2
-rw-r--r--queries/promql/highlights.scm12
2 files changed, 1 insertions, 13 deletions
diff --git a/lockfile.json b/lockfile.json
index fcb0b44d2..ce85db6ab 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -396,7 +396,7 @@
"revision": "eca2596a355b1a9952b4f80f8f9caed300a272b5"
},
"promql": {
- "revision": "655afc4fe6813f38bde087d6493d8fd4920d6d4a"
+ "revision": "4b6b9f399dc58e408c81da8d8fd7e66ab617eef3"
},
"proto": {
"revision": "42d82fa18f8afe59b5fc0b16c207ee4f84cb185f"
diff --git a/queries/promql/highlights.scm b/queries/promql/highlights.scm
index 7c0d1241e..024b7703b 100644
--- a/queries/promql/highlights.scm
+++ b/queries/promql/highlights.scm
@@ -17,13 +17,6 @@
] @operator
[
- "and"
- "unless"
- "or"
- "bool"
-] @keyword.operator
-
-[
"{"
"}"
"["
@@ -44,11 +37,6 @@
(function_name) @function.call
-[
- "by"
- "without"
-] @function
-
(comment) @comment @spell
(ERROR) @error