chore: query formatting

This commit is contained in:
Pham Huy Hoang 2024-01-06 15:05:50 +09:00 committed by Christian Clason
parent 79975d6557
commit 57a8acf0c4
674 changed files with 18466 additions and 12648 deletions

View file

@ -3,15 +3,14 @@
; top-to-bottom).
;
; [1]: https://github.com/tree-sitter/tree-sitter/issues/918
; Scopes {{{
[
(for_expression)
(let_expression)
(function_declaration)
(for_expression)
(let_expression)
(function_declaration)
] @local.scope
; }}}
; }}}
; Definitions {{{
(type_declaration
name: (identifier) @local.definition.type
@ -23,6 +22,7 @@
(function_declaration
name: (identifier) @local.definition.function
(#set! "definition.var.scope" "parent"))
(primitive_declaration
name: (identifier) @local.definition.function
(#set! "definition.var.scope" "parent"))
@ -30,10 +30,10 @@
(variable_declaration
name: (identifier) @local.definition.var
(#set! "definition.var.scope" "parent"))
; }}}
; }}}
; References {{{
(identifier) @local.reference
; }}}
; }}}
; vim: sw=2 foldmethod=marker