Awesome
telescope_hoogle
A telescope plugin for Hoogle.
Keybindings
<C-b>
: opens selected entry in the browser:
<cr>
: copies selected entry to clipboard:
Installation
- Install Telescope
- Install a recent Hoogle (needs to support
--json
flag) - Run
hoogle generate
- Install this plugin (for example:
paq 'luc-tielen/telescope_hoogle'
) - Add the following Lua snippet to your nvim config:
local telescope = require('telescope')
telescope.setup {
-- opts...
}
telescope.load_extension('hoogle')
Development
$ git clone git@github.com:luc-tielen/telescope_hoogle.git
$ cd telescope_hoogle
$ nvim --cmd "set rtp+=$(pwd)"