Skip to content

Commit

Permalink
LedgerFoldText needn't look for amount in first line.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaputo committed Mar 10, 2019
1 parent 105485b commit 298d532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/ledger.vim
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ let s:rx_amount = '\('.
function! LedgerFoldText() "{{{1
" find amount
let amount = ""
let lnum = v:foldstart
let lnum = v:foldstart + 1
while lnum <= v:foldend
let line = getline(lnum)

Expand Down

0 comments on commit 298d532

Please sign in to comment.