docs: Update README.md
This commit is contained in:
16
README.md
16
README.md
@@ -121,7 +121,21 @@ Instead, you can open it with telescope.
|
||||
|
||||
**How to use**
|
||||
|
||||
To load the telescope extension you have to add this line to your configuration:
|
||||
Install the plugin using:
|
||||
|
||||
```
|
||||
use({
|
||||
"nvim-telescope/telescope.nvim",
|
||||
requires = { { "nvim-lua/plenary.nvim" }, { "kdheepak/lazygit.nvim" } },
|
||||
config = function()
|
||||
require("telescope").load_extension("lazygit")
|
||||
end,
|
||||
})
|
||||
```
|
||||
|
||||
Lazy loading `lazygit.nvim` for telescope functionality is not supported. Open an issue if you wish to have this feature.
|
||||
|
||||
If you are not using Packer, to load the telescope extension, you have to add this line to your configuration:
|
||||
|
||||
```lua
|
||||
require('telescope').load_extension('lazygit')
|
||||
|
||||
Reference in New Issue
Block a user