nvim-treesitter/queries/djot/indents.scm
Jonas Hietala 25ed904c75
feat(djot): update queries (#6375)
- Adjust some highlights to fit context better
- Conceal inline content
- Add locals
- Add folds
2024-04-01 13:42:12 +02:00

10 lines
361 B
Scheme

; The intention here is to rely on Neovims `autoindent` setting.
; This allows us to not indent after just a single list item
; so we can create narrow lists quickly, but indent blocks inside list items
; to the previous paragraph.
(list_item_content) @indent.auto
(footnote_content) @indent.align
((table_caption) @indent.begin
(#set! indent.immediate 1))