LazyVim/lua/plugins/editor.lua
2024-03-26 18:10:56 +01:00

40 lines
722 B
Lua

return {
{
"folke/flash.nvim",
opts = {
modes = {
search = { enabled = false },
},
},
},
{
"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,
},
}