aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorJohann Klähn2015-01-07 17:35:46 +0100
committerJohann Klähn2015-05-27 11:26:00 +0200
commit74be6aaca584457c4a487395d8a9849e6becff77 (patch)
tree79bb4342a08bfb48f60ae04f907d9bc4479cfc55 /ftplugin
parentc3ed247909501c093a1c9ccb7f47e1b4a960c06f (diff)
downloadvim-beancount-74be6aaca584457c4a487395d8a9849e6becff77.tar.gz
add vim-ledger style completion as an option
Diffstat (limited to '')
-rw-r--r--ftplugin/beancount.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim
index 2d603f9..bcdc8c4 100644
--- a/ftplugin/beancount.vim
+++ b/ftplugin/beancount.vim
@@ -18,6 +18,12 @@ endif
if !exists("g:beancount_decimal_separator")
let g:beancount_decimal_separator = "."
endif
+if !exists('g:beancount_account_completion')
+ let g:beancount_account_completion = 'default'
+endif
+if !exists('g:beancount_detailed_first')
+ let g:beancount_detailed_first = 0
+endif
command! -buffer -range AlignCommodity
\ :call beancount#align_commodity(<line1>, <line2>)