diff options
author | w0rp <devw0rp@gmail.com> | 2018-07-15 18:24:53 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-07-15 18:28:28 +0100 |
commit | a42999a639b2916b769a85f37d037be314d9d61b (patch) | |
tree | 5ebfb4d357dc673efa93fd32a66b489c4510de40 /ale_linters/tex/writegood.vim | |
parent | 5155a35a80fe3b20659eb0f28cc6cc720532dd3f (diff) | |
download | ale-a42999a639b2916b769a85f37d037be314d9d61b.zip |
Massively reduce the amount of code needed for linter tests
Diffstat (limited to 'ale_linters/tex/writegood.vim')
-rw-r--r-- | ale_linters/tex/writegood.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/tex/writegood.vim b/ale_linters/tex/writegood.vim new file mode 100644 index 00000000..dc59de2e --- /dev/null +++ b/ale_linters/tex/writegood.vim @@ -0,0 +1,9 @@ +" Author: Sumner Evans <sumner.evans98@gmail.com> +" Description: write-good for TeX files + +call ale#linter#Define('tex', { +\ 'name': 'write-good', +\ 'executable_callback': 'ale#handlers#writegood#GetExecutable', +\ 'command_callback': 'ale#handlers#writegood#GetCommand', +\ 'callback': 'ale#handlers#writegood#Handle', +\}) |