fix make for haskell
This commit is contained in:
parent
d0dbd45b5d
commit
2c44ab6c8d
1 changed files with 10 additions and 3 deletions
13
vimrc
13
vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue