Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use command-line Hoogle client in Vim

  • Loading branch information...
commit 4cdb0402383e47fc8af70d558025ddda993eef81 1 parent 24b580e
@tdudziak authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 .vimrc
View
6 .vimrc
@@ -95,9 +95,11 @@ set colorcolumn=80,100
highlight ColorColumn ctermbg=Black
" Keyword lookup on Shift-K with Hoogle
-autocmd FileType haskell setlocal keywordprg=hoogle
-autocmd FileType lhaskell setlocal keywordprg=hoogle
+autocmd FileType haskell setlocal keywordprg=hoogle\ --info
+autocmd FileType lhaskell setlocal keywordprg=hoogle\ --info
" Include Go stuff (syntax, filetype, ...)
set rtp+=$GOROOT/misc/vim
autocmd BufReadPre,BufNewFile *.go set filetype=go fileencoding=utf-8 fileencodings=utf-8
+
+set cmdheight=2
Please sign in to comment.
Something went wrong with that request. Please try again.