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