feat(djot): update queries (#6375)

- Adjust some highlights to fit context better
- Conceal inline content
- Add locals
- Add folds
This commit is contained in:
Jonas Hietala 2024-04-01 13:42:12 +02:00 committed by GitHub
parent 0bfa0be5e4
commit 25ed904c75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 208 additions and 54 deletions

17
queries/djot/locals.scm Normal file
View file

@ -0,0 +1,17 @@
(link_reference_definition
(link_label) @local.definition)
(footnote
(reference_label) @local.definition)
(collapsed_reference_link
(link_text) @local.reference)
(full_reference_link
(link_label) @local.reference)
(full_reference_image
(link_label) @local.reference)
(footnote_reference
(reference_label) @local.reference)