summaryrefslogtreecommitdiff
path: root/ale_linters/haskell/ghc-mod.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/haskell/ghc-mod.vim')
-rw-r--r--ale_linters/haskell/ghc-mod.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/ale_linters/haskell/ghc-mod.vim b/ale_linters/haskell/ghc-mod.vim
index 1b15d8c2..eb032f50 100644
--- a/ale_linters/haskell/ghc-mod.vim
+++ b/ale_linters/haskell/ghc-mod.vim
@@ -2,14 +2,16 @@
" Description: ghc-mod for Haskell files
call ale#linter#Define('haskell', {
-\ 'name': 'ghc-mod',
+\ 'name': 'ghc_mod',
+\ 'aliases': ['ghc-mod'],
\ 'executable': 'ghc-mod',
\ 'command': 'ghc-mod --map-file %s=%t check %s',
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
\})
call ale#linter#Define('haskell', {
-\ 'name': 'stack-ghc-mod',
+\ 'name': 'stack_ghc_mod',
+\ 'aliases': ['stack-ghc-mod'],
\ 'executable': 'stack',
\ 'command': 'stack exec ghc-mod -- --map-file %s=%t check %s',
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',