aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/djot/indents.scm
blob: 3b1a56ebde7a95932e6e45a5898c476efb24182c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
; 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))