summaryrefslogtreecommitdiff
path: root/.vim/ftplugin/haskell.vim
blob: a1ad287e6f3464e6c7eb5b0030ed150d36397cdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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