LazyVim/lua/plugins/editor.lua
2023-12-01 14:05:10 +01:00

30 lines
604 B
Lua

return {
{
"Darazaki/indent-o-matic",
event = "LazyFile",
opts = { max_lines = 100 },
},
{
"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,
},
}