all repos

clerk @ 78d7e88

missing tooling for ledger/hledger

clerk/internal/lsp/testdata/folding-range.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
lsp: textdocument/foldingRange, 1 month ago
1
-- in.journal --
2
account assets:cash
3
  type A
4
  note savings
5
  ; indented comment
6
7
; block one
8
; block one line two
9
10
comment big
11
some ignored text
12
end comment
13
14
apply tag work
15
2024-01-01 t
16
  expenses:food  $10
17
  assets:cash
18
end tag
19
20
2024-01-01 multi
21
  expenses:food  $10
22
  assets:cash  $-10
23
24
2024-01-01 single
25
  expenses:food  $10
26
27
2024-01-02 ~ monthly
28
  expenses:food  $10
29
  expenses:something  $10
30
  assets:cash  $-20
31
32
= expr
33
    expenses:food  $10
34
    assets:cash  $-10
35
^
36
37
-- expect --
38
1-3 region
39
5-6 comment
40
8-10 comment
41
12-16 region
42
14-15 region
43
19-20 region
44
26-28 region
45
31-32 region