summaryrefslogtreecommitdiff
path: root/ale_linters/po/alex.vim
diff options
context:
space:
mode:
authorbutlerx <butlerx@notthe.cloud>2018-01-27 11:40:40 +0000
committerbutlerx <butlerx@notthe.cloud>2018-01-27 12:17:15 +0000
commit9dad25778fa3c848d9ce010979323e91d00a3819 (patch)
treee7ecf746d777a0bce4ebb09f5ee76594444ed454 /ale_linters/po/alex.vim
parentdffc162dd66bfa0a2b2591d03df6895c378d8fce (diff)
downloadale-9dad25778fa3c848d9ce010979323e91d00a3819.zip
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,
+\})