Regenerate nvim config
This commit is contained in:
26
config/neovim/store/nvim-treesitter/queries/bass/locals.scm
Normal file
26
config/neovim/store/nvim-treesitter/queries/bass/locals.scm
Normal file
@ -0,0 +1,26 @@
|
||||
; Scopes
|
||||
[
|
||||
(list)
|
||||
(scope)
|
||||
(cons)
|
||||
] @local.scope
|
||||
|
||||
; References
|
||||
(symbol) @local.reference
|
||||
|
||||
; Definitions
|
||||
((list
|
||||
.
|
||||
(symbol) @_fnkw
|
||||
.
|
||||
(symbol) @local.definition.function
|
||||
(symbol)? @local.definition.parameter)
|
||||
(#any-of? @_fnkw "def" "defop" "defn" "fn"))
|
||||
|
||||
((cons
|
||||
.
|
||||
(symbol) @_fnkw
|
||||
.
|
||||
(symbol) @local.definition.function
|
||||
(symbol)? @local.definition.parameter)
|
||||
(#any-of? @_fnkw "def" "defop" "defn" "fn"))
|
||||
Reference in New Issue
Block a user