mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
34 lines
521 B
Scheme
34 lines
521 B
Scheme
|
|
(signature
|
||
|
|
name: (loname)) @local.definition.var
|
||
|
|
|
||
|
|
(signature
|
||
|
|
name: (caname)) @local.definition.type
|
||
|
|
|
||
|
|
(function
|
||
|
|
(lhs
|
||
|
|
(funvar
|
||
|
|
subject: (loname)))) @local.definition.function
|
||
|
|
|
||
|
|
(function
|
||
|
|
(lhs
|
||
|
|
(funvar
|
||
|
|
subject: (caname)))) @local.definition.function
|
||
|
|
|
||
|
|
(type_var
|
||
|
|
(loname)) @local.definition.type
|
||
|
|
|
||
|
|
(pat_name
|
||
|
|
(loname)) @local.definition.var
|
||
|
|
|
||
|
|
(pat_name
|
||
|
|
(caname)) @local.definition.var
|
||
|
|
|
||
|
|
(exp_name
|
||
|
|
(loname)) @local.reference
|
||
|
|
|
||
|
|
(exp_name
|
||
|
|
(caname)) @local.reference
|
||
|
|
|
||
|
|
(function
|
||
|
|
(rhs) @local.scope)
|