From c090464fde1414116876630ab633d4f5fcc33fc2 Mon Sep 17 00:00:00 2001 From: amandin <123622161+amawdiin@users.noreply.github.com> Date: Thu, 11 Apr 2024 06:02:08 +0600 Subject: [PATCH] fix : fixed harpoon replaced 'append' to 'add' function due to 'append' function being deprecated --- lua/astrocommunity/motion/harpoon/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astrocommunity/motion/harpoon/init.lua b/lua/astrocommunity/motion/harpoon/init.lua index 1ec679f9e..eb3fe194f 100644 --- a/lua/astrocommunity/motion/harpoon/init.lua +++ b/lua/astrocommunity/motion/harpoon/init.lua @@ -14,7 +14,7 @@ return { local prefix = "" maps.n[prefix] = { desc = require("astroui").get_icon("Harpoon", 1, true) .. "Harpoon" } - maps.n[prefix .. "a"] = { function() require("harpoon"):list():append() end, desc = "Add file" } + maps.n[prefix .. "a"] = { function() require("harpoon"):list():add() end, desc = "Add file" } maps.n[prefix .. "e"] = { function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end, desc = "Toggle quick menu",