summaryrefslogtreecommitdiff
path: root/ale_linters/nroff/proselint.vim
diff options
context:
space:
mode:
authorDaniel M. Capella <polyzen@users.noreply.github.com>2017-03-01 19:06:09 -0500
committerw0rp <w0rp@users.noreply.github.com>2017-03-02 00:06:09 +0000
commit18508f74532f41aa4c66a5e217550f00d150a30d (patch)
treef13b02833feb92678ef27dec382777c74bc7e3e3 /ale_linters/nroff/proselint.vim
parent6befe9e37c3a7bc07aba2f66cd7587fd6360359b (diff)
downloadale-18508f74532f41aa4c66a5e217550f00d150a30d.zip
proselint: Add more supported filetypes (#367)
* proselint: Add more suported filetypes * proselint: Minor consistency fixes * Vim help: Disable linters by default
Diffstat (limited to 'ale_linters/nroff/proselint.vim')
-rw-r--r--ale_linters/nroff/proselint.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/nroff/proselint.vim b/ale_linters/nroff/proselint.vim
new file mode 100644
index 00000000..ce5ff1e7
--- /dev/null
+++ b/ale_linters/nroff/proselint.vim
@@ -0,0 +1,9 @@
+" Author: Daniel M. Capella https://github.com/polyzen
+" Description: proselint for nroff files
+
+call ale#linter#Define('nroff', {
+\ 'name': 'proselint',
+\ 'executable': 'proselint',
+\ 'command': 'proselint %t',
+\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\})