From aa30843b946e5a73ee6dbe66c9a770d78a139edb Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 8 Jul 2018 16:54:57 +0800 Subject: [PATCH] Add hoogle support --- after/ftplugin/haskell.vim | 7 +++++++ vimrc | 1 + 2 files changed, 8 insertions(+) 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' }