1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-28 01:00:05 +08:00
SpaceVim/bundle/nvim-treesitter/queries/pascal/locals.scm

26 lines
1.0 KiB
Scheme
Raw Normal View History

(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