From 5677ec32a883587644d1acf4e988315087d3641f Mon Sep 17 00:00:00 2001 From: Philippe Huerlimann Date: Sat, 27 Oct 2012 16:30:52 +0200 Subject: [PATCH] automatically check and lint haskell code --- ftplugin/haskell.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.51.2