From c18dce6b472e410c9513e49002f81b73b6b0d8d4 Mon Sep 17 00:00:00 2001 From: cbosvik <132846580+cbosvik@users.noreply.github.com> Date: Thu, 19 Sep 2024 23:39:46 +0200 Subject: [PATCH] feat(extras): add telescope-undo to get a searchable undo-tree --- .../plugins/extras/util/telescope-undo.lua | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lua/lazyvim/plugins/extras/util/telescope-undo.lua diff --git a/lua/lazyvim/plugins/extras/util/telescope-undo.lua b/lua/lazyvim/plugins/extras/util/telescope-undo.lua new file mode 100644 index 00000000..b23e8e0d --- /dev/null +++ b/lua/lazyvim/plugins/extras/util/telescope-undo.lua @@ -0,0 +1,23 @@ +return { + { + "debugloop/telescope-undo.nvim", + dependencies = { + { + "nvim-telescope/telescope.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + }, + }, + keys = { + { + "fu", + "Telescope undo", + desc = "undo history", + }, + }, + opts = {}, + config = function(_, opts) + require("telescope").setup(opts) + require("telescope").load_extension("undo") + end, + }, +}