Regenerate nvim config
This commit is contained in:
31
config/neovim/store/nvim-treesitter/queries/cue/locals.scm
Normal file
31
config/neovim/store/nvim-treesitter/queries/cue/locals.scm
Normal file
@ -0,0 +1,31 @@
|
||||
; Scopes
|
||||
[
|
||||
(source_file)
|
||||
(field)
|
||||
(for_clause)
|
||||
] @local.scope
|
||||
|
||||
; References
|
||||
(identifier) @local.reference
|
||||
|
||||
; Definitions
|
||||
(import_spec
|
||||
path: (string) @local.definition.import)
|
||||
|
||||
(field
|
||||
(label
|
||||
(identifier) @local.definition.field))
|
||||
|
||||
(package_identifier) @local.definition.namespace
|
||||
|
||||
(for_clause
|
||||
(identifier) @local.definition.var
|
||||
(expression))
|
||||
|
||||
(for_clause
|
||||
(identifier)
|
||||
(identifier) @local.definition.var
|
||||
(expression))
|
||||
|
||||
(let_clause
|
||||
(identifier) @local.definition.var)
|
||||
Reference in New Issue
Block a user