Regenerate nvim config
This commit is contained in:
36
config/neovim/store/nvim-treesitter/queries/teal/locals.scm
Normal file
36
config/neovim/store/nvim-treesitter/queries/teal/locals.scm
Normal file
@ -0,0 +1,36 @@
|
||||
(var_declaration
|
||||
declarators: (var_declarators
|
||||
(var
|
||||
(identifier)) @local.definition.var))
|
||||
|
||||
(var_assignment
|
||||
variables: (assignment_variables
|
||||
(var
|
||||
(identifier) @local.definition.var) @local.definition.associated))
|
||||
|
||||
(arg
|
||||
name: (identifier) @local.definition.parameter)
|
||||
|
||||
(anon_function) @local.scope
|
||||
|
||||
(function_statement
|
||||
(function_name) @local.definition.function) @local.scope
|
||||
|
||||
(program) @local.scope
|
||||
|
||||
(if_statement) @local.scope
|
||||
|
||||
(generic_for_statement
|
||||
(for_body) @local.scope)
|
||||
|
||||
(numeric_for_statement
|
||||
(for_body) @local.scope)
|
||||
|
||||
(repeat_statement) @local.scope
|
||||
|
||||
(while_statement
|
||||
(while_body) @local.scope)
|
||||
|
||||
(do_statement) @local.scope
|
||||
|
||||
(identifier) @local.reference
|
||||
Reference in New Issue
Block a user