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

19 lines
287 B
Scheme
Vendored

;; Scopes
[
(command)
(function_definition)
(if_statement)
(for_statement)
(begin_statement)
(while_statement)
(switch_statement)
] @scope
;; Definitions
(function_definition
name: (word) @definition.function)
;; References
(variable_name) @reference
(word) @reference