summaryrefslogtreecommitdiff
path: root/ale_linters/po/msgfmt.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/po/msgfmt.vim')
-rw-r--r--ale_linters/po/msgfmt.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/ale_linters/po/msgfmt.vim b/ale_linters/po/msgfmt.vim
new file mode 100644
index 00000000..60c25d30
--- /dev/null
+++ b/ale_linters/po/msgfmt.vim
@@ -0,0 +1,10 @@
+" Author: Cian Butler https://github.com/butlerx
+" Description: msgfmt for PO files
+
+call ale#linter#Define('po', {
+\ 'name': 'msgfmt',
+\ 'executable': 'msgfmt',
+\ 'output_stream': 'stderr',
+\ 'command': 'msgfmt --statistics %t',
+\ 'callback': 'ale#handlers#unix#HandleAsWarning',
+\})