ledger / vim-ledger

Vim plugin for Ledger
GNU General Public License v2.0
370 stars 56 forks source link

All closed folds open on LedgerAlignBuffer #145

Open Pranshugoyal opened 1 year ago

Pranshugoyal commented 1 year ago

I use foldmethod=syntax as suggested from vim-ledger docs, and I use LedgerAlignBuffer as an autocommand on BufWrite.

So on every BufWrite after align command runs if there are closed folds in the file they all open up which shouldn't be the behaviour.