mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
31 lines
402 B
Scheme
31 lines
402 B
Scheme
;; Scopes
|
|
|
|
(document) @scope
|
|
|
|
(directive) @scope
|
|
|
|
;; Definitions
|
|
|
|
(substitution_definition
|
|
name: (substitution) @definition)
|
|
|
|
(footnote
|
|
name: (label) @definition)
|
|
|
|
(citation
|
|
name: (label) @definition)
|
|
|
|
(target
|
|
name: (reference) @definition)
|
|
|
|
; Inline targets
|
|
(target) @definition
|
|
|
|
;; References
|
|
|
|
[
|
|
(substitution_reference)
|
|
(footnote_reference)
|
|
(citation_reference)
|
|
(reference)
|
|
] @reference
|