aboutsummaryrefslogtreecommitdiffstats
path: root/queries/kdl
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-07-22 15:29:32 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-01-19 16:58:37 +0100
commit5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5 (patch)
tree2b2856c96ba738d90229a3d6eae44a7f66d7e5e2 /queries/kdl
parentrevert "fix(config)!: always install parsers bundled with nvim" (diff)
downloadnvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar
nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.gz
nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.bz2
nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.lz
nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.xz
nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.tar.zst
nvim-treesitter-5b90ea2abaa4303b9205b5c9002a8cdd0acd11a5.zip
feat(locals)!: switch to upstream captures
Diffstat (limited to 'queries/kdl')
-rw-r--r--queries/kdl/locals.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/queries/kdl/locals.scm b/queries/kdl/locals.scm
index 9190cab69..2c7ec5150 100644
--- a/queries/kdl/locals.scm
+++ b/queries/kdl/locals.scm
@@ -1,10 +1,10 @@
-(document) @scope
-(node (node_children) @scope)
-(node_children (node) @scope)
+(document) @local.scope
+(node (node_children) @local.scope)
+(node_children (node) @local.scope)
-(identifier) @reference
+(identifier) @local.reference
-(node_field) @definition.field
+(node_field) @local.definition.field
-(node (identifier) @definition.type)
-(type) @definition.type
+(node (identifier) @local.definition.type)
+(type) @local.definition.type