mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
locals: add more scopes
This commit is contained in:
parent
03f7bf7b49
commit
859c743296
1 changed files with 9 additions and 1 deletions
|
|
@ -1,5 +1,13 @@
|
|||
;; Scopes
|
||||
(function_definition) @scope
|
||||
[
|
||||
(command)
|
||||
(function_definition)
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(begin_statement)
|
||||
(while_statement)
|
||||
(switch_statement)
|
||||
] @scope
|
||||
|
||||
;; Definitions
|
||||
(function_definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue