Skip to content

Commit

Permalink
fix : fixed harpoon
Browse files Browse the repository at this point in the history
replaced 'append' to 'add' function due to 'append' function being deprecated
  • Loading branch information
amqndin committed Apr 11, 2024
1 parent 4da8d06 commit c090464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/astrocommunity/motion/harpoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ return {
local prefix = "<Leader><Leader>"
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",
Expand Down

0 comments on commit c090464

Please sign in to comment.