diff --git a/after/ftplugin/haskell.vim b/after/ftplugin/haskell.vim index a4cca4d..ae90c1e 100644 --- a/after/ftplugin/haskell.vim +++ b/after/ftplugin/haskell.vim @@ -41,6 +41,13 @@ endfunction au BufEnter /*.hs call LoadHscope() + + +"hoogle +nnoremap ho :Hoogle +nnoremap hc :HoogleClose + + " haskell-vim let g:haskell_classic_highlighting = 1 let g:haskell_indent_disable = 1 diff --git a/vimrc b/vimrc index 700ca58..7294bbe 100644 --- a/vimrc +++ b/vimrc @@ -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' }