mirror of
https://github.com/dense-analysis/ale.git
synced 2026-03-01 21:07:00 +08:00
Merge pull request #846 from voanhduy1512/ghc-mod
Make ghc-mod linter check current buffer
This commit is contained in:
@@ -4,13 +4,13 @@
|
|||||||
call ale#linter#Define('haskell', {
|
call ale#linter#Define('haskell', {
|
||||||
\ 'name': 'ghc-mod',
|
\ 'name': 'ghc-mod',
|
||||||
\ 'executable': 'ghc-mod',
|
\ 'executable': 'ghc-mod',
|
||||||
\ 'command': 'ghc-mod check %t',
|
\ 'command': 'ghc-mod --map-file %s=%t check %s',
|
||||||
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
|
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
|
||||||
\})
|
\})
|
||||||
|
|
||||||
call ale#linter#Define('haskell', {
|
call ale#linter#Define('haskell', {
|
||||||
\ 'name': 'stack-ghc-mod',
|
\ 'name': 'stack-ghc-mod',
|
||||||
\ 'executable': 'stack',
|
\ 'executable': 'stack',
|
||||||
\ 'command': 'stack exec ghc-mod check %t',
|
\ 'command': 'stack exec ghc-mod --map-file %s=%t check %s',
|
||||||
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
|
\ 'callback': 'ale#handlers#haskell#HandleGHCFormat',
|
||||||
\})
|
\})
|
||||||
|
|||||||
Reference in New Issue
Block a user