Regenerate nvim config
This commit is contained in:
28
config/neovim/store/nvim-treesitter/queries/koto/locals.scm
Normal file
28
config/neovim/store/nvim-treesitter/queries/koto/locals.scm
Normal file
@ -0,0 +1,28 @@
|
||||
; Scopes
|
||||
(function
|
||||
body: (_) @local.scope)
|
||||
|
||||
; Definitions
|
||||
(arg
|
||||
(identifier) @local.definition.parameter)
|
||||
|
||||
(assign
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(for_args
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(match_patterns
|
||||
(identifier) @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
|
||||
Reference in New Issue
Block a user