1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/pascal/locals.scm
2022-04-14 12:01:23 +08:00

26 lines
1.0 KiB
Scheme

(root) @scope
(defProc) @scope
(lambda) @scope
(interface (declProc) @scope)
(declSection (declProc) @scope)
(declClass (declProc) @scope)
(declHelper (declProc) @scope)
(declProcRef) @scope
(exceptionHandler) @scope
(exceptionHandler variable: (identifier) @definition)
(declArg name: (identifier) @definition)
(declVar name: (identifier) @definition)
(declConst name: (identifier) @definition)
(declLabel name: (identifier) @definition)
(genericArg name: (identifier) @definition)
(declEnumValue name: (identifier) @definition)
(declType name: (identifier) @definition)
(declType name: (genericTpl entity: (identifier) @definition))
(declProc name: (identifier) @definition)
(identifier) @reference