Skip to content

Instantly share code, notes, and snippets.

@emptyflask
Created December 12, 2015 16:12
Show Gist options
  • Save emptyflask/78c611c73b02d27ad960 to your computer and use it in GitHub Desktop.
Save emptyflask/78c611c73b02d27ad960 to your computer and use it in GitHub Desktop.
" ftplugin/haskell.vim
set tags=tags;/,codex.tags;/
" Disable haskell-vim omnifunc
let g:haskellmode_completion_ghc = 0
autocmd FileType haskell setlocal omnifunc=necoghc#omnifunc
autocmd FileType haskell nnoremap <buffer> <F1> :HdevtoolsType<CR>
autocmd FileType haskell nnoremap <buffer> <silent> <F2> :HdevtoolsClear<CR>
autocmd FileType haskell nnoremap <buffer> <silent> <F3> :HdevtoolsInfo<CR>
let g:haskell_enable_quantification = 1
let g:haskell_enable_recursivedo = 1
let g:haskell_enable_arrowsyntax = 1
let g:haskell_enable_pattern_synonyms = 1
let g:haskell_enable_typeroles = 1
let g:haskell_enable_static_pointers = 1
" .config/nvim/init.vim
Plug 'benekastah/neomake'
Plug 'janko-m/vim-test'
Plug 'raichoo/haskell-vim', {'for': 'haskell'}
Plug 'bitc/vim-hdevtools', {'for': 'haskell'}
Plug 'eagletmt/ghcmod-vim', {'for': 'haskell'}
Plug 'eagletmt/neco-ghc'
Plug 'Twinside/vim-hoogle', {'for': 'haskell'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment