mirror of
https://github.com/dense-analysis/ale
synced 2024-12-27 08:32:24 +00:00
17 lines
497 B
VimL
17 lines
497 B
VimL
" Author: wizzup <wizzup@gmail.com>
|
|
" Description: ghc-mod for Haskell files
|
|
|
|
call ale#linter#Define('haskell', {
|
|
\ 'name': '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',
|
|
\ 'executable': 'stack',
|
|
\ 'command': 'stack exec ghc-mod -- --map-file %s=%t check %s',
|
|
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
|
|
\})
|