fix make for haskell

This commit is contained in:
Yann Esposito (Yogsototh) 2014-05-09 19:06:41 +02:00
parent d0dbd45b5d
commit 2c44ab6c8d

13
vimrc
View file

@ -73,13 +73,20 @@ filetype on
" NERDTree
" let NERDTreeIgnore=['\.o$','\~$','\.hi$']
" neocomplcache (advanced completion)
autocmd BufEnter *.hs,*.lhs let g:neocomplcache_enable_at_startup = 1
" -- Haskell
au Bufenter *.hs,*.lhs compiler ghc
let g:haddock_browser="/usr/bin/firefox"
" neocomplcache (advanced completion)
autocmd BufEnter *.hs,*.lhs let g:neocomplcache_enable_at_startup = 1
function! SetToCabalBuild()
if glob("*.cabal") != ''
set makeprg=cabal\ build
endif
endfunction
autocmd BufEnter *.hs,*.lhs :call SetToCabalBuild()
" -- vim-gitgutter
highlight clear SignColumn
highlight SignColumn ctermbg=0