Skip to content

Commit

Permalink
fix(harpoon): deprecated function in configuration (#870)
Browse files Browse the repository at this point in the history
fix: deprecated function

Co-authored-by: amandin <123622161+amawdiin@users.noreply.github.com>
  • Loading branch information
amqndin and amqndin committed Apr 11, 2024
1 parent 4da8d06 commit 5c7db4a
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 5c7db4a

Please sign in to comment.