From 8ac3dd2358b2da31a6b2dce75e8cc65a6bfd8b11 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 3 Nov 2022 09:34:12 +0800 Subject: Update ledger.vim config --- .vim/after/plugin/ledger.vim | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3