mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -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/idris/locals.scm
Normal file
33
runtime/queries/idris/locals.scm
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
(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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue