Add hoogle support

This commit is contained in:
Julian Ospald 2018-07-08 16:54:57 +08:00
parent 9347f35352
commit aa30843b94
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,13 @@ endfunction
au BufEnter /*.hs call LoadHscope()
"hoogle
nnoremap <leader>ho :Hoogle<CR>
nnoremap <leader>hc :HoogleClose<CR>
" haskell-vim
let g:haskell_classic_highlighting = 1
let g:haskell_indent_disable = 1

1
vimrc
View File

@ -101,6 +101,7 @@ Plug 'bitc/lushtags', {
" Plug 'timmytofu/vim-cabal-context', { 'for': 'haskell' }
Plug 'itchyny/vim-haskell-indent', { 'for': 'haskell' }
Plug 'dan-t/vim-hsimport', { 'for': 'haskell' }
Plug 'Twinside/vim-hoogle', { 'for': 'haskell' }
" clojure
" Plug '~/.vim/unmanaged-vim-plug/paredit', { 'for': 'clojure' }