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
28
runtime/queries/koto/locals.scm
Normal file
28
runtime/queries/koto/locals.scm
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
; Scopes
|
||||
(function
|
||||
body: (_) @local.scope)
|
||||
|
||||
; Definitions
|
||||
(arg
|
||||
(variable) @local.definition.parameter)
|
||||
|
||||
(assign
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(for_args
|
||||
(variable) @local.definition.var)
|
||||
|
||||
(match_patterns
|
||||
(variable) @local.definition.var)
|
||||
|
||||
(import_item
|
||||
(identifier) @local.definition.import)
|
||||
|
||||
(entry_block
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
(entry_inline
|
||||
(identifier) @local.definition.field)
|
||||
|
||||
; References
|
||||
(identifier) @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue