aboutsummaryrefslogtreecommitdiffstats
path: root/ale_linters/beancount/bean_check.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/beancount/bean_check.vim')
-rw-r--r--ale_linters/beancount/bean_check.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/ale_linters/beancount/bean_check.vim b/ale_linters/beancount/bean_check.vim
new file mode 100644
index 0000000..f021439
--- /dev/null
+++ b/ale_linters/beancount/bean_check.vim
@@ -0,0 +1,7 @@
+call ale#linter#Define('beancount', {
+\ 'name': 'bean_check',
+\ 'output_stream': 'stderr',
+\ 'executable': 'bean-check',
+\ 'command': 'bean-check %s',
+\ 'callback': 'ale#handlers#HandleUnixFormatAsError',
+\})