diff options
-rw-r--r-- | contrib/vim/ftplugin/ledger.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/vim/ftplugin/ledger.vim b/contrib/vim/ftplugin/ledger.vim index 1d624b14..ec1173b8 100644 --- a/contrib/vim/ftplugin/ledger.vim +++ b/contrib/vim/ftplugin/ledger.vim @@ -290,7 +290,7 @@ function! LedgerSetDate(lnum, type, ...) "{{{1 if a:type ==? 'actual' let date[0] = formatted elseif a:type ==? 'effective' - if time == 0 + if time < 0 " remove effective date let date = [date[0]] else |