docs: added config directions for Lazy.nvim package manager (#2377)

This commit is contained in:
Norm
2023-02-19 04:31:40 -05:00
committed by GitHub
parent e572c63c7d
commit 57062ea455

View File

@@ -104,6 +104,25 @@ use {
}
```
Using [lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
-- init.lua:
{
'nvim-telescope/telescope.nvim', tag = '0.1.1',
-- or , branch = '0.1.1',
dependencies = { 'nvim-lua/plenary.nvim' }
}
-- plugins/telescope.lua:
return {
{
'nvim-telescope/telescope.nvim', tag = '0.1.1',
-- or , branch = '0.1.1',
dependencies = { 'nvim-lua/plenary.nvim' }
}
```
### checkhealth
Make sure you call `:checkhealth telescope` after installing telescope to ensure