54 lines
1004 B
Lua
54 lines
1004 B
Lua
return {
|
|
|
|
{
|
|
"folke/flash.nvim",
|
|
opts = {
|
|
modes = {
|
|
search = { enabled = false },
|
|
},
|
|
},
|
|
},
|
|
|
|
{
|
|
"Darazaki/indent-o-matic",
|
|
event = "LazyFile",
|
|
opts = { max_lines = 100 },
|
|
},
|
|
|
|
{
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
opts = {
|
|
event_handlers = {
|
|
{
|
|
event = "file_opened",
|
|
handler = function() --auto close
|
|
require("neo-tree.command").execute({ action = "close" })
|
|
end,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
{
|
|
"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,
|
|
},
|
|
}
|