https://github.com/luc-tielen/telescope_hoogle
Hoogle search integration for Telescope
https://github.com/luc-tielen/telescope_hoogle
haskell lua neovim neovim-plugin
Last synced: 4 months ago
JSON representation
Hoogle search integration for Telescope
- Host: GitHub
- URL: https://github.com/luc-tielen/telescope_hoogle
- Owner: luc-tielen
- License: mit
- Created: 2021-03-07T07:03:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-20T10:18:32.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T03:51:22.323Z (4 months ago)
- Topics: haskell, lua, neovim, neovim-plugin
- Language: Lua
- Homepage:
- Size: 920 KB
- Stars: 49
- Watchers: 2
- Forks: 7
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telescope_hoogle
A telescope plugin for Hoogle.
## Keybindings
- ``: opens selected entry in the browser:

- ``: copies selected entry to clipboard:

## Installation
1. Install [Telescope](https://github.com/nvim-telescope/telescope.nvim)
1. Install a recent Hoogle (needs to support `--json` flag)
2. Run `hoogle generate`
3. Install this plugin (for example: `paq 'luc-tielen/telescope_hoogle'`)
4. Add the following Lua snippet to your nvim config:```lua
local telescope = require('telescope')
telescope.setup {
-- opts...
}
telescope.load_extension('hoogle')
```## Development
```bash
$ git clone [email protected]:luc-tielen/telescope_hoogle.git
$ cd telescope_hoogle
$ nvim --cmd "set rtp+=$(pwd)"
```