From c037750220c25ddaf4b0d2bf3b9dc8a3ab534f48 Mon Sep 17 00:00:00 2001 From: zhenjier Date: Wed, 29 Mar 2017 09:16:43 -0400 Subject: [PATCH] Fix issue #625 --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 8ee23227e..ecd2159e9 100644 --- a/.vimrc +++ b/.vimrc @@ -733,7 +733,7 @@ " Haskell post write lint and check with ghcmod " $ `cabal install ghcmod` if missing and ensure " ~/.cabal/bin is in your $PATH. - if !executable("ghcmod") + if !executable("ghcmod") && !executable("ghc-mod") autocmd BufWritePost *.hs GhcModCheckAndLintAsync endif @@ -1012,7 +1012,7 @@ " Haskell post write lint and check with ghcmod " $ `cabal install ghcmod` if missing and ensure " ~/.cabal/bin is in your $PATH. - if !executable("ghcmod") + if !executable("ghcmod") && !executable("ghc-mod") autocmd BufWritePost *.hs GhcModCheckAndLintAsync endif