aboutsummaryrefslogtreecommitdiffstats
path: root/ale_linters/beancount
diff options
context:
space:
mode:
authorxentac2017-10-27 21:12:04 -0700
committerGitHub2017-10-27 21:12:04 -0700
commitd4da66c61e8643c80245dcd63e7b33832aecaba7 (patch)
treebb2e43f9dec0c790ee96c416d8ba8abfc15c39c8 /ale_linters/beancount
parent8e86516961817c22da4a75ebb89de23da5038a7c (diff)
parent93498c6877c883d4d8a29a189d0c776961f1cfd0 (diff)
downloadvim-beancount-d4da66c61e8643c80245dcd63e7b33832aecaba7.tar.gz
Merge pull request #41 from yegle/add-ale-linter-support
Add linter support for ALE vim plugin.
Diffstat (limited to 'ale_linters/beancount')
-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..477af3c
--- /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#unix#HandleAsError',
+\})