/telescope_hoogle

Hoogle search integration for Telescope

Primary LanguageLuaMIT LicenseMIT

telescope_hoogle

A telescope plugin for Hoogle.

Keybindings

  • <C-b>: opens selected entry in the browser:

  • <cr>: copies selected entry to clipboard:

Installation

  1. Install Telescope
  2. Install a recent Hoogle (needs to support --json flag)
  3. Run hoogle generate
  4. Install this plugin (for example: paq 'luc-tielen/telescope_hoogle')
  5. 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)"