aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin')
-rw-r--r--.vim/after/plugin/ledger.vim6
-rw-r--r--.vim/after/plugin/minpac.vim2
2 files changed, 5 insertions, 3 deletions
diff --git a/.vim/after/plugin/ledger.vim b/.vim/after/plugin/ledger.vim
index 71fa5b1..13d4d98 100644
--- a/.vim/after/plugin/ledger.vim
+++ b/.vim/after/plugin/ledger.vim
@@ -1,4 +1,6 @@
-let g:ledger_bin = 'ledger'
+let g:ledger_bin = 'hledger'
+let g:ledger_is_hledger = v:true
+
let g:ledger_align_at = 50
let g:ledger_maxwidth = 80
let g:ledger_commodity_before = 0
@@ -8,7 +10,7 @@ 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')
+let g:ledger_main = expand('$HOME/Sync/ledgers/main.journal')
function! s:ledger_keymap() abort
noremap { ?^\d<CR>
diff --git a/.vim/after/plugin/minpac.vim b/.vim/after/plugin/minpac.vim
index 5b7a16f..318e621 100644
--- a/.vim/after/plugin/minpac.vim
+++ b/.vim/after/plugin/minpac.vim
@@ -89,7 +89,7 @@ function! InitMinpac() abort
" language specific
call minpac#add('https://github.com/habamax/vim-godot.git')
- call minpac#add('https://github.com/ledger/vim-ledger.git')
+ call minpac#add('https://github.com/ledger/vim-ledger.git', {'type': 'start'})
call minpac#add('https://github.com/axvr/org.vim.git')
call minpac#add('https://github.com/chr4/nginx.vim')
call minpac#add('https://github.com/preservim/vim-markdown')