1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:20:05 +08:00
SpaceVim/bundle/nvim-treesitter/queries/vim/locals.scm
2022-04-14 12:01:23 +08:00

11 lines
290 B
Scheme

[
(script_file)
(function_definition)
] @scope
(function_declaration name: (identifier) @definition.function)
(function_declaration parameters: (parameters (identifier) @definition.parameter))
(let_statement [(scoped_identifier) (identifier)] @definition.var)
(identifier) @reference