mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
32 lines
402 B
Scheme
32 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
|