aboutsummaryrefslogtreecommitdiffstats
path: root/ftplugin
diff options
context:
space:
mode:
authorNathan Grigg2015-04-15 09:53:02 -0700
committerNathan Grigg2015-04-15 09:53:02 -0700
commit7e143898c29b9c66fb5e1b12c2e4fe17cc782366 (patch)
treeb1bcd0d48b3232ad95bad8a8ca20ead065fc971c /ftplugin
parent844101f686ef241e6835c85d78301da4cfb3f6db (diff)
downloadvim-beancount-7e143898c29b9c66fb5e1b12c2e4fe17cc782366.tar.gz
Add a beancount compiler that calls bean-check.
- Set the make program to bean-check. - Set the errorformat to parse the output of bean-check.
Diffstat (limited to '')
-rw-r--r--ftplugin/beancount.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftplugin/beancount.vim b/ftplugin/beancount.vim
index 20c2058..2d603f9 100644
--- a/ftplugin/beancount.vim
+++ b/ftplugin/beancount.vim
@@ -10,6 +10,7 @@ let b:undo_ftplugin = "setlocal foldmethod< comments< commentstring<"
setl foldmethod=syntax
setl comments=b:;
setl commentstring=;%s
+compiler beancount
if !exists("g:beancount_separator_col")
let g:beancount_separator_col = 50