docs: Update Lazy install instructions (#129)
This commit is contained in:
16
README.md
16
README.md
@@ -34,6 +34,7 @@ Install using [`lazy.nvim`](https://github.com/folke/lazy.nvim):
|
|||||||
-- nvim v0.8.0
|
-- nvim v0.8.0
|
||||||
return {
|
return {
|
||||||
"kdheepak/lazygit.nvim",
|
"kdheepak/lazygit.nvim",
|
||||||
|
lazy = true,
|
||||||
cmd = {
|
cmd = {
|
||||||
"LazyGit",
|
"LazyGit",
|
||||||
"LazyGitConfig",
|
"LazyGitConfig",
|
||||||
@@ -226,18 +227,25 @@ Install using [`lazy.nvim`](https://github.com/folke/lazy.nvim):
|
|||||||
|
|
||||||
```lua
|
```lua
|
||||||
-- nvim v0.8.0
|
-- nvim v0.8.0
|
||||||
require("lazy").setup({
|
|
||||||
{
|
{
|
||||||
"kdheepak/lazygit.nvim",
|
"kdheepak/lazygit.nvim",
|
||||||
|
lazy = false,
|
||||||
|
cmd = {
|
||||||
|
"LazyGit",
|
||||||
|
"LazyGitConfig",
|
||||||
|
"LazyGitCurrentFile",
|
||||||
|
"LazyGitFilter",
|
||||||
|
"LazyGitFilterCurrentFile",
|
||||||
|
},
|
||||||
|
-- optional for floating window border decoration
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
"nvim-lua/plenary.nvim"
|
"nvim-lua/plenary.nvim",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("telescope").load_extension("lazygit")
|
require("telescope").load_extension("lazygit")
|
||||||
end,
|
end,
|
||||||
},
|
}
|
||||||
})
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Lazy loading `lazygit.nvim` for telescope functionality is not supported. Open an issue if you wish to have this feature.
|
Lazy loading `lazygit.nvim` for telescope functionality is not supported. Open an issue if you wish to have this feature.
|
||||||
|
|||||||
Reference in New Issue
Block a user