aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin/beancount.vim
diff options
context:
space:
mode:
authorNathan Grigg2014-11-21 17:01:12 -0800
committerNathan Grigg2014-11-21 17:01:12 -0800
commitf795769af03223e5e929c99c8b68d4ee075dad5a (patch)
tree90911a28f8876ae8dea296524d5ca3ccaf416de3 /ftplugin/beancount.vim
parent811be4ffbfbb7f0a11b71455b3ad52bd6e32bd7d (diff)
downloadvim-beancount-f795769af03223e5e929c99c8b68d4ee075dad5a.tar.gz
Add omnicomplete function for account names
Diffstat (limited to '')
-rw-r--r--ftplugin/beancount.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim
index 4cf4bf8..277285e 100644
--- a/ftplugin/beancount.vim
+++ b/ftplugin/beancount.vim
@@ -37,3 +37,6 @@ function! s:InsertIncoming()
endfunction
command! -buffer Incoming call <SID>InsertIncoming()
+
+
+setl omnifunc=beancount#complete_account