feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,35 @@
; Source: https://github.com/IndianBoy42/tree-sitter-just/blob/main/queries/just/locals.scm
; Scope
(recipe) @local.scope
; Definitions
(alias
left: (identifier) @local.definition.var)
(assignment
left: (identifier) @local.definition.var)
(module
name: (identifier) @local.definition.namespace)
(parameter
name: (identifier) @local.definition.var)
(recipe_header
name: (identifier) @local.definition.function)
; References
(alias
right: (identifier) @local.reference)
(function_call
name: (identifier) @local.reference)
(dependency
name: (identifier) @local.reference)
(dependency_expression
name: (identifier) @local.reference)
(value
(identifier) @local.reference)