Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down