summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/markdown/proselint.vim9
-rw-r--r--ale_linters/tex/proselint.vim9
-rw-r--r--ale_linters/text/proselint.vim8
3 files changed, 26 insertions, 0 deletions
diff --git a/ale_linters/markdown/proselint.vim b/ale_linters/markdown/proselint.vim
new file mode 100644
index 00000000..fd2155f7
--- /dev/null
+++ b/ale_linters/markdown/proselint.vim
@@ -0,0 +1,9 @@
+" Author: poohzrn https://github.com/poohzrn
+" Description: proselint for markdown files
+
+call ale#linter#Define('markdown', {
+\ 'name': 'proselint',
+\ 'executable': 'proselint',
+\ 'command': g:ale#util#stdin_wrapper . ' .md proselint',
+\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\})
diff --git a/ale_linters/tex/proselint.vim b/ale_linters/tex/proselint.vim
new file mode 100644
index 00000000..d175c88c
--- /dev/null
+++ b/ale_linters/tex/proselint.vim
@@ -0,0 +1,9 @@
+" Author: poohzrn https://github.com/poohzrn
+" Description: proselint for tex files
+
+call ale#linter#Define('tex', {
+\ 'name': 'proselint',
+\ 'executable': 'proselint',
+\ 'command': g:ale#util#stdin_wrapper . ' .tex proselint',
+\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\})
diff --git a/ale_linters/text/proselint.vim b/ale_linters/text/proselint.vim
new file mode 100644
index 00000000..4a55dec4
--- /dev/null
+++ b/ale_linters/text/proselint.vim
@@ -0,0 +1,8 @@
+" Author: poohzrn https://github.com/poohzrn
+" Description: proselint for text files
+
+call ale#linter#Define('text', {
+\ 'name': 'proselint',
+\ 'executable': 'proselint',
+\ 'callback': 'ale#handlers#HandleUnixFormatAsWarning',
+\})