summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/hdevtools.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/hdevtools.vim')
-rw-r--r--ale_linters/haskell/hdevtools.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/haskell/hdevtools.vim b/ale_linters/haskell/hdevtools.vim
new file mode 100644
index 00000000..92bb8279
--- /dev/null
+++ b/ale_linters/haskell/hdevtools.vim
@@ -0,0 +1,9 @@
+" Author: rob-b
+" Description: hdevtools for Haskell files
+
+call ale#linter#Define('haskell', {
+\ 'name': 'hdevtools',
+\ 'executable': 'hdevtools',
+\ 'command': 'hdevtools check -g -Wall -p %s %t',
+\ 'callback': 'ale#handlers#HandleGhcFormat',
+\})