aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno BELANYI <bruno@belanyi.fr>2024-07-01 15:19:08 +0100
committerGitHub <noreply@github.com>2024-07-01 14:19:08 +0000
commit699766a0b9652224057ecbceec713a01fc7ed639 (patch)
treee3062dec9f1ffc3ab4c483192847d393ed4a4d15
parentbot(readme): update (diff)
downloadnvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.tar
nvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.tar.gz
nvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.tar.bz2
nvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.tar.lz
nvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.tar.xz
nvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.tar.zst
nvim-treesitter-699766a0b9652224057ecbceec713a01fc7ed639.zip
feat(bp): update parser and queries (#6843)
-rw-r--r--lockfile.json2
-rw-r--r--queries/bp/highlights.scm1
-rw-r--r--queries/bp/locals.scm3
3 files changed, 5 insertions, 1 deletions
diff --git a/lockfile.json b/lockfile.json
index 16c164e36..a9bc00f15 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -48,7 +48,7 @@
"revision": "60ba73739c6083c693d86a1a7cf039c07eb4ed59"
},
"bp": {
- "revision": "2326d709fb9cf73cf124fdbc803c267f851721a4"
+ "revision": "4e60cf3c2e613625c06f6f85540b3631e2d06cd3"
},
"c": {
"revision": "deca017a554045b4c203e7ddff39ae64ff05e071"
diff --git a/queries/bp/highlights.scm b/queries/bp/highlights.scm
index d18e6eea0..5f94f4c11 100644
--- a/queries/bp/highlights.scm
+++ b/queries/bp/highlights.scm
@@ -42,6 +42,7 @@
[
(unset)
(default)
+ (any)
] @variable.builtin
(condition
diff --git a/queries/bp/locals.scm b/queries/bp/locals.scm
index 66b444fc6..c8a5a1719 100644
--- a/queries/bp/locals.scm
+++ b/queries/bp/locals.scm
@@ -9,4 +9,7 @@
(assignment
left: (identifier) @local.definition.var)
+(pattern_binding
+ binding: (identifier) @local.definition.var)
+
(identifier) @local.reference