From 927ff0f409ff54b8205e954cb8aebf4063c967cb Mon Sep 17 00:00:00 2001 From: Rabin Adhikari Date: Thu, 4 Apr 2024 16:31:25 +0545 Subject: [PATCH] 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. --- lua/lazyvim/plugins/extras/editor/harpoon2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/editor/harpoon2.lua b/lua/lazyvim/plugins/extras/editor/harpoon2.lua index 666f7d58..a8781d15 100644 --- a/lua/lazyvim/plugins/extras/editor/harpoon2.lua +++ b/lua/lazyvim/plugins/extras/editor/harpoon2.lua @@ -11,7 +11,7 @@ return { { "H", function() - require("harpoon"):list():append() + require("harpoon"):list():add() end, desc = "Harpoon File", },