mini_files: added integration with snacks
This commit is contained in:
parent
22a2c4d809
commit
b8481dcb1a
|
@ -1,4 +1,5 @@
|
|||
return {
|
||||
{
|
||||
"echasnovski/mini.nvim",
|
||||
version = false,
|
||||
enabled = true,
|
||||
|
@ -53,4 +54,16 @@ return {
|
|||
desc = "Open/Close mini files from current file directory",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/snacks.nvim",
|
||||
init = function()
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "MiniFilesActionRename",
|
||||
callback = function(event)
|
||||
Snacks.rename.on_rename_file(event.data.from, event.data.to)
|
||||
end,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue