mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20: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
54
runtime/queries/pascal/locals.scm
Normal file
54
runtime/queries/pascal/locals.scm
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
(root) @local.scope
|
||||
|
||||
(defProc) @local.scope
|
||||
|
||||
(lambda) @local.scope
|
||||
|
||||
(interface
|
||||
(declProc) @local.scope)
|
||||
|
||||
(declSection
|
||||
(declProc) @local.scope)
|
||||
|
||||
(declClass
|
||||
(declProc) @local.scope)
|
||||
|
||||
(declHelper
|
||||
(declProc) @local.scope)
|
||||
|
||||
(declProcRef) @local.scope
|
||||
|
||||
(exceptionHandler) @local.scope
|
||||
|
||||
(exceptionHandler
|
||||
variable: (identifier) @local.definition)
|
||||
|
||||
(declArg
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(declVar
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(declConst
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(declLabel
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(genericArg
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(declEnumValue
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(declType
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(declType
|
||||
name: (genericTpl
|
||||
entity: (identifier) @local.definition))
|
||||
|
||||
(declProc
|
||||
name: (identifier) @local.definition)
|
||||
|
||||
(identifier) @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue