We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b14c7f5 commit 39530f3Copy full SHA for 39530f3
autoload/ledger.vim
@@ -399,7 +399,7 @@ func! ledger#entry()
399
let l = line('.') - 1 " Insert transaction at the current line (i.e., below the line above the current one)
400
let query = getline('.')
401
normal "_dd
402
- exec l . 'read !' g:ledger_bin '-f' shellescape(expand('%')) 'entry' shellescape(query)
+ exec l . 'read !' g:ledger_bin '-f' shellescape(expand(g:ledger_main)) 'entry' shellescape(query)
403
endfunc
404
405
" Report generation {{{1
0 commit comments