diff options
author | Yuchen Ying | 2017-04-06 14:17:44 -0700 |
---|---|---|
committer | Yuchen Ying | 2017-10-24 22:37:21 -0700 |
commit | e1b079e50cc84bf2adde430825cb403cd2730171 (patch) | |
tree | 8a5650e8c66f4a189fba880e7cfd988d7791741a /ale_linters/beancount | |
parent | b68207234f1139135e70d32740a078ff4d423bc0 (diff) | |
download | vim-beancount-e1b079e50cc84bf2adde430825cb403cd2730171.tar.gz |
Add linter support for ALE vim plugin.
ALE is a syntax checker similar to Syntastic, but support async in
Vim8 and NeoVim.
Diffstat (limited to 'ale_linters/beancount')
-rw-r--r-- | ale_linters/beancount/bean_check.vim | 7 |
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', +\}) |