Harpoon2: Use add to add the current buffer to the list instead of append

Use `add` to add the current buffer to the list instead of `append.` The plugin warns about the deprecation of the latter in favor of the previous one.
This commit is contained in:
Rabin Adhikari 2024-04-04 16:31:25 +05:45 committed by GitHub
parent 97480dc5d2
commit 927ff0f409
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,7 +11,7 @@ return {
{
"<leader>H",
function()
require("harpoon"):list():append()
require("harpoon"):list():add()
end,
desc = "Harpoon File",
},