Update generated neovim config
This commit is contained in:
18
config/neovim/store/treesitter-parsers/queries/r/locals.scm
Normal file
18
config/neovim/store/treesitter-parsers/queries/r/locals.scm
Normal file
@ -0,0 +1,18 @@
|
||||
; locals.scm
|
||||
|
||||
(function_definition) @local.scope
|
||||
|
||||
(argument name: (identifier) @local.definition)
|
||||
(parameter name: (identifier) @local.definition)
|
||||
|
||||
(binary_operator
|
||||
lhs: (identifier) @local.definition
|
||||
operator: "<-")
|
||||
(binary_operator
|
||||
lhs: (identifier) @local.definition
|
||||
operator: "=")
|
||||
(binary_operator
|
||||
operator: "->"
|
||||
rhs: (identifier) @local.definition)
|
||||
|
||||
(identifier) @local.reference
|
||||
Reference in New Issue
Block a user