docs: fix the branch example for lazy.nvim (#2586)
The previous values were incorrect. The new values reflect the correct way of using the branch, as showcased in the previous examples.
This commit is contained in:
@@ -110,14 +110,14 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim)
|
|||||||
-- init.lua:
|
-- init.lua:
|
||||||
{
|
{
|
||||||
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
||||||
-- or , branch = '0.1.1',
|
-- or , branch = '0.1.x',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||||
}
|
}
|
||||||
|
|
||||||
-- plugins/telescope.lua:
|
-- plugins/telescope.lua:
|
||||||
return {
|
return {
|
||||||
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
'nvim-telescope/telescope.nvim', tag = '0.1.1',
|
||||||
-- or , branch = '0.1.1',
|
-- or , branch = '0.1.x',
|
||||||
dependencies = { 'nvim-lua/plenary.nvim' }
|
dependencies = { 'nvim-lua/plenary.nvim' }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user