feat(undo): add plugin telescope-undo
This commit is contained in:
parent
c2fb521d93
commit
762dd1b379
@ -6,8 +6,24 @@ return {
|
||||
},
|
||||
|
||||
{
|
||||
"Mr-LLLLL/interestingwords.nvim",
|
||||
config = true,
|
||||
keys = { "<leader>k", "<leader>K", "<leader>m", "<leader>M" },
|
||||
"debugloop/telescope-undo.nvim",
|
||||
dependencies = {
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>uu", "<cmd>Telescope undo<cr>", desc = "Telescope undo" },
|
||||
},
|
||||
opts = {
|
||||
extensions = {
|
||||
undo = { use_delta = true },
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("telescope").setup(opts)
|
||||
require("telescope").load_extension("undo")
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user