aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/locals.scm
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-02-07 22:24:23 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-07 22:36:46 +0100
commitfbcfa7ebee8fceb22830a08648a36ef849cc1c3c (patch)
tree4e50ff50b8b10d8b3dc10472ded7e523b284ff8a /queries/python/locals.scm
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.tar
nvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.tar.gz
nvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.tar.bz2
nvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.tar.lz
nvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.tar.xz
nvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.tar.zst
nvim-treesitter-fbcfa7ebee8fceb22830a08648a36ef849cc1c3c.zip
locals(python): adapt as_pattern to upstream change
Diffstat (limited to 'queries/python/locals.scm')
-rw-r--r--queries/python/locals.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/python/locals.scm b/queries/python/locals.scm
index 7699a512e..76a14fef5 100644
--- a/queries/python/locals.scm
+++ b/queries/python/locals.scm
@@ -109,7 +109,7 @@
(identifier) @definition.var)
(as_pattern
- alias: (identifier) @definition.var)
+ alias: (as_pattern_target) @definition.var)
;;; REFERENCES
(identifier) @reference