diff options
-rw-r--r-- | .vim/after/plugin/ledger.vim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.vim/after/plugin/ledger.vim b/.vim/after/plugin/ledger.vim index 77f5f3a..71fa5b1 100644 --- a/.vim/after/plugin/ledger.vim +++ b/.vim/after/plugin/ledger.vim @@ -1,8 +1,14 @@ let g:ledger_bin = 'ledger' let g:ledger_align_at = 50 +let g:ledger_maxwidth = 80 let g:ledger_commodity_before = 0 let g:ledger_align_commodity = 1 -let g:ledger_extra_options = '--pedantic --explicit --check-payees' +let g:ledger_align_last = v:true +let g:ledger_decimal_sep = '.' +let g:ledger_commodity_sep = ' ' +let g:ledger_date_format = '%Y-%m-%d' +let g:ledger_extra_options = '' +let g:ledger_main = expand('$HOME/ledgers/main.journal') function! s:ledger_keymap() abort noremap { ?^\d<CR> |