mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
Update lua/lazyvim/plugins/extras/util/telescope-undo.lua
Co-authored-by: Seong Yong-ju <sei40kr@gmail.com>
This commit is contained in:
parent
c18dce6b47
commit
c797fe9c42
1 changed files with 15 additions and 15 deletions
|
|
@ -1,23 +1,23 @@
|
|||
return {
|
||||
{
|
||||
"debugloop/telescope-undo.nvim",
|
||||
"nvim-telescope/telescope.nvim",
|
||||
optional = true,
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
"debugloop/telescope-undo.nvim",
|
||||
keys = {
|
||||
{
|
||||
"<leader>fu",
|
||||
"<cmd>Telescope undo<cr>",
|
||||
desc = "Undo history",
|
||||
},
|
||||
},
|
||||
config = function()
|
||||
LazyVim.on_load("telescope.nvim", function()
|
||||
require("telescope").load_extension("undo")
|
||||
end)
|
||||
end,
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{
|
||||
"<leader>fu",
|
||||
"<cmd>Telescope undo<cr>",
|
||||
desc = "undo history",
|
||||
},
|
||||
},
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require("telescope").setup(opts)
|
||||
require("telescope").load_extension("undo")
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue