diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-10-31 13:24:57 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-10-31 13:24:58 +0100 |
commit | 053de2b98f1c8bac6482125335ea6fc17dbc99c5 (patch) | |
tree | 62ec6f3ac5b0b66a93fc0a5926416db935c6eacf | |
parent | 4544a18619bc78bdd9a18425126ead9fcfe03e29 (diff) | |
download | dotfiles-053de2b98f1c8bac6482125335ea6fc17dbc99c5.tar.gz dotfiles-053de2b98f1c8bac6482125335ea6fc17dbc99c5.tar.bz2 dotfiles-053de2b98f1c8bac6482125335ea6fc17dbc99c5.zip |
[vim] Haskell
Diffstat (limited to '')
-rw-r--r-- | .vim/bundles.vim | 6 | ||||
-rw-r--r-- | .vim/ftplugin/haskell.vim | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.vim/bundles.vim b/.vim/bundles.vim index 5fcbbcf..4d11f3f 100644 --- a/.vim/bundles.vim +++ b/.vim/bundles.vim @@ -68,5 +68,11 @@ Plugin 'PotatoesMaster/i3-vim-syntax' " LiveScript support Plugin 'necoro/vim-ls' +" Haskell Stuff +Plugin 'Shougo/vimproc.vim' " Dependency +Plugin 'lukerandall/haskellmode-vim' +Plugin 'eagletmt/ghcmod-vim' +Plugin 'eagletmt/neco-ghc' + call vundle#end() filetype plugin indent on " required! 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 |