nvim: init.vim: Set keyword for Haskell filetypes to hoogle

This commit is contained in:
Sanchayan Maity 2019-12-23 10:48:42 +05:30 committed by Sanchayan Maity
parent 4f0b45ac96
commit bdf2f541b5
1 changed files with 1 additions and 0 deletions

View File

@ -361,6 +361,7 @@ augroup haskell_maps
au FileType haskell nmap <Leader>hc :HoogleClose<CR>
au FileType haskell nmap <Leader>ho :exe ':Hoogle ' . expand('<cword>')<CR>
au FileType haskell nmap <Leader>hi :exe ':HoogleInfo ' . expand('<cword>')<CR>
au FileType haskell setlocal keywordprg=:Hoogle
augroup END
augroup psc_ide_maps