aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/beancount.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim
index bcdc8c4..dc35999 100644
--- a/ftplugin/beancount.vim
+++ b/ftplugin/beancount.vim
@@ -28,5 +28,8 @@ endif
command! -buffer -range AlignCommodity
\ :call beancount#align_commodity(<line1>, <line2>)
+command! -buffer -range GetContext
+ \ :call beancount#get_context()
+
" Omnifunc for account completion.
setl omnifunc=beancount#complete_account