Merge pull request #126 from polarmutex/feat/telescope

update README with telescope info
This commit is contained in:
ThePrimeagen 2021-11-24 08:01:16 -07:00 committed by GitHub
commit 3604170701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,3 +190,19 @@ more convenient to launch Neovim with an environment variable, e.g. `>
HARPOON_LOG=trace nvim`. In case both, `vim.g` and an environment variable are HARPOON_LOG=trace nvim`. In case both, `vim.g` and an environment variable are
used, the log level set by the environment variable overrules. Supplying an used, the log level set by the environment variable overrules. Supplying an
invalid log level defaults back to warnings. invalid log level defaults back to warnings.
## Telescope
### Setup
Add thet followingt to your config:
```lua
require("telescope").load_extension('harpoon')
```
### Launch
Call the following to launch the telescope window
```lua
:Telescope harpoon marks
```