mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -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
33
runtime/queries/matlab/locals.scm
Normal file
33
runtime/queries/matlab/locals.scm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
; References
|
||||
(identifier) @local.reference
|
||||
|
||||
; Definitions
|
||||
(function_definition
|
||||
name: (identifier) @local.definition.function
|
||||
(function_arguments
|
||||
(identifier)* @local.definition.parameter
|
||||
(","
|
||||
(identifier) @local.definition.parameter)*)?) @local.scope
|
||||
|
||||
(assignment
|
||||
left: (identifier) @local.definition.var)
|
||||
|
||||
(multioutput_variable
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(iterator
|
||||
.
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(lambda
|
||||
(arguments
|
||||
(identifier) @local.definition.parameter))
|
||||
|
||||
(global_operator
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(persistent_operator
|
||||
(identifier) @local.definition.var)
|
||||
|
||||
(catch_clause
|
||||
(identifier) @local.definition)
|
||||
Loading…
Add table
Add a link
Reference in a new issue