summaryrefslogtreecommitdiff
path: root/ale_linters/po/alex.vim
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2018-01-28 12:49:18 +0000
committerGitHub <noreply@github.com>2018-01-28 12:49:18 +0000
commit1832240cff33a91b0b12d8719b986838c2d36e6a (patch)
tree413d5f3e78e85510108f630cadfcdaa754d7223e /ale_linters/po/alex.vim
parent65fc5d11c77527bbf19a94da919fb37b5a02924b (diff)
parent9dad25778fa3c848d9ce010979323e91d00a3819 (diff)
downloadale-1832240cff33a91b0b12d8719b986838c2d36e6a.zip
Merge pull request #1321 from butlerx/feature/po
add po support with proselint, writegood, msgfmt and alex
Diffstat (limited to 'ale_linters/po/alex.vim')
-rw-r--r--ale_linters/po/alex.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/ale_linters/po/alex.vim b/ale_linters/po/alex.vim
new file mode 100644
index 00000000..411d835b
--- /dev/null
+++ b/ale_linters/po/alex.vim
@@ -0,0 +1,11 @@
+" Author: Cian Butler https://github.com/butlerx
+" Description: alex for PO files
+
+call ale#linter#Define('po', {
+\ 'name': 'alex',
+\ 'executable': 'alex',
+\ 'command': 'alex %s -t',
+\ 'output_stream': 'stderr',
+\ 'callback': 'ale#handlers#alex#Handle',
+\ 'lint_file': 1,
+\})