From d8f566e93f80847dabec0b9f756f6a9f4091bcb8 Mon Sep 17 00:00:00 2001 From: "Harsh Vyapari (Debian)" Date: Sat, 6 Apr 2024 14:52:48 +0530 Subject: [PATCH] fix(harpoon2): Using add since append is deprecated --- lua/lazyvim/plugins/extras/editor/harpoon2.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lazyvim/plugins/extras/editor/harpoon2.lua b/lua/lazyvim/plugins/extras/editor/harpoon2.lua index 666f7d58..d7f2b0c6 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", }, @@ -22,7 +22,7 @@ return { harpoon.ui:toggle_quick_menu(harpoon:list()) end, desc = "Harpoon Quick Menu", - } + }, } for i = 1, 5 do @@ -35,5 +35,5 @@ return { }) end return keys - end + end, }