mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
24
runtime/queries/ipkg/locals.scm
Normal file
24
runtime/queries/ipkg/locals.scm
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
; Scopes
|
||||
(source_file) @local.scope
|
||||
|
||||
; Definitions
|
||||
(package_declaration
|
||||
(package_name) @local.definition.import)
|
||||
|
||||
(module_declaration
|
||||
(module_list
|
||||
(module_name) @local.definition.namespace))
|
||||
|
||||
(main_declaration
|
||||
(module_name) @local.definition.import)
|
||||
|
||||
(executable_declaration
|
||||
(package_name) @local.definition.import)
|
||||
|
||||
; References
|
||||
(dependency_declaration
|
||||
(dependency_list
|
||||
(dependency_item
|
||||
(package_name) @local.reference)))
|
||||
|
||||
(module_name) @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue