From 053de2b98f1c8bac6482125335ea6fc17dbc99c5 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 31 Oct 2014 13:24:57 +0100 Subject: [vim] Haskell --- .vim/ftplugin/haskell.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .vim/ftplugin/haskell.vim (limited to '.vim/ftplugin/haskell.vim') diff --git a/.vim/ftplugin/haskell.vim b/.vim/ftplugin/haskell.vim new file mode 100644 index 0000000..a1ad287 --- /dev/null +++ b/.vim/ftplugin/haskell.vim @@ -0,0 +1,15 @@ +" Tab specific option +set tabstop=8 "A tab is 8 spaces +set expandtab "Always uses spaces instead of tabs +set softtabstop=4 "Insert 4 spaces when tab is pressed +set shiftwidth=4 "An indent is 4 spaces +set shiftround "Round indent to nearest shiftwidth multiple + +let g:haskellmode_completion_ghc=0 +let g:necoghc_enable_detailed_browse=1 +set omnifunc=necoghc#omnifunc + +let g:haddock_browser="/usr/bin/firefox" +let g:haddock_browser_callformat="%s '%s'" + +compiler ghc -- cgit v1.2.3-54-g00ecf