Regenerate nvim config
This commit is contained in:
21
config/neovim/store/nvim-treesitter/queries/swift/locals.scm
Normal file
21
config/neovim/store/nvim-treesitter/queries/swift/locals.scm
Normal file
@ -0,0 +1,21 @@
|
||||
(import_declaration
|
||||
(identifier) @local.definition.import)
|
||||
|
||||
(function_declaration
|
||||
name: (simple_identifier) @local.definition.function)
|
||||
|
||||
; Scopes
|
||||
[
|
||||
(statements)
|
||||
(for_statement)
|
||||
(while_statement)
|
||||
(repeat_while_statement)
|
||||
(do_statement)
|
||||
(if_statement)
|
||||
(guard_statement)
|
||||
(switch_statement)
|
||||
(property_declaration)
|
||||
(function_declaration)
|
||||
(class_declaration)
|
||||
(protocol_declaration)
|
||||
] @local.scope
|
||||
Reference in New Issue
Block a user