From: Philippe Huerlimann Date: Sat, 27 Oct 2012 14:30:52 +0000 (+0200) Subject: automatically check and lint haskell code X-Git-Url: https://git.hurlimann.org/?a=commitdiff_plain;h=5677ec32a883587644d1acf4e988315087d3641f;p=vimfiles.git automatically check and lint haskell code --- diff --git a/ftplugin/haskell.vim b/ftplugin/haskell.vim index f146ed8..00215ef 100644 --- a/ftplugin/haskell.vim +++ b/ftplugin/haskell.vim @@ -1,5 +1,5 @@ setlocal omnifunc=necoghc#omnifunc -nnoremap f :GhcModCheck -nnoremap l :GhcModLint +autocmd BufWritePost *.hs GhcModCheckAndLintAsync + nnoremap i :GhcModTypeInsert