ledger/contrib/vim/ftplugin
Johann Klähn 6c0ccd5ffd vim. add LedgerToggleTransactionState()
By using
  call LedgerToggleTransactionState(line('.'), ' *?')
the state of the transaction will toggle through:
  no state -> * -> ? -> no state -> …
beginning at what ever state it currently has.
Adjust to your liking.

Thanks to Chad Voegele for the suggestion.
2010-09-08 23:24:39 +02:00
..
ledger.vim vim. add LedgerToggleTransactionState() 2010-09-08 23:24:39 +02:00