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:
Frantisek Stanko
2023-06-29 15:24:41 +02:00
committed by GitHub
parent 6074847b6e
commit e651c37317

View File

@@ -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' }
} }
``` ```