fix(harpoon): harpoon2 deprecated message (#2920)

* fix(config): harpoon2 deprecated message when adding new file to list and fix auto save on file list toggle

* fix: Update harpoon2.lua to add pleanery dep

* fix: no need for plenary deps here

---------

Co-authored-by: Alan Alvarenga <alan.alvarengamejia@telus.com>
Co-authored-by: Rubin Bhandari <roobin.bhandari@gmail.com>
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
Alan Alvarenga
2024-04-22 01:45:59 -06:00
committed by GitHub
parent cd04b58fe3
commit 79fed97f23

View File

@ -5,13 +5,16 @@ return {
menu = {
width = vim.api.nvim_win_get_width(0) - 4,
},
settings = {
save_on_toggle = true,
},
},
keys = function()
local keys = {
{
"<leader>H",
function()
require("harpoon"):list():append()
require("harpoon"):list():add()
end,
desc = "Harpoon File",
},
@ -22,7 +25,7 @@ return {
harpoon.ui:toggle_quick_menu(harpoon:list())
end,
desc = "Harpoon Quick Menu",
}
},
}
for i = 1, 5 do
@ -35,5 +38,5 @@ return {
})
end
return keys
end
end,
}