Skip to content

Commit 298d532

Browse files
committed
LedgerFoldText needn't look for amount in first line.
1 parent 105485b commit 298d532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/ledger.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ let s:rx_amount = '\('.
183183
function! LedgerFoldText() "{{{1
184184
" find amount
185185
let amount = ""
186-
let lnum = v:foldstart
186+
let lnum = v:foldstart + 1
187187
while lnum <= v:foldend
188188
let line = getline(lnum)
189189

0 commit comments

Comments
 (0)