feat!: drop modules, general refactor and cleanup

This commit is contained in:
Christian Clason 2023-06-12 09:54:30 -06:00
parent 310f0925ec
commit 692b051b09
1247 changed files with 6096 additions and 9074 deletions

View file

@ -0,0 +1,38 @@
; Scopes
(document) @local.scope
(directive) @local.scope
; Definitions
(title) @local.definition
(substitution_definition
name: (substitution) @local.definition)
(footnote
name: (label) @local.definition)
(citation
name: (label) @local.definition)
(target
name: (name) @local.definition)
; Inline targets
(inline_target) @local.definition
; The role directive can define a new role
((directive
name: (type) @_type
body: (body
(arguments) @local.definition))
(#eq? @_type "role"))
; References
[
(substitution_reference)
(footnote_reference)
(citation_reference)
(reference)
(role)
] @local.reference