aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/editor-syntax-etc/nvim/queries/sisu/folds.scm
blob: 69c44d2dd5d691145219c2ea2db136002be8594d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
; Code folding queries for SiSU Spine markup

; Block elements are foldable
(code_block_curly) @fold
(code_block_tic) @fold
(poem_block_curly) @fold
(poem_block_tic) @fold
(block_block_curly) @fold
(block_block_tic) @fold
(group_block_curly) @fold
(group_block_tic) @fold
(table_block_curly) @fold
(table_block_tic) @fold
(quote_block_tic) @fold

; Multi-line book index entries are foldable
(book_index) @fold

; Pipe tables are foldable
(pipe_table) @fold

; Header fields with continuations are foldable
(header_field) @fold