diff options
Diffstat (limited to 'lua/conf/plugins/harpoon.lua')
-rw-r--r-- | lua/conf/plugins/harpoon.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lua/conf/plugins/harpoon.lua b/lua/conf/plugins/harpoon.lua index 5bb02d0..06a00ff 100644 --- a/lua/conf/plugins/harpoon.lua +++ b/lua/conf/plugins/harpoon.lua @@ -1,5 +1,7 @@ -local misc = require("core.misc") -local map = misc.map +-- TODO: might end up writing my own because I like harpoon, but I hate that it +-- doesn't work properly without being pinned to a specific commit + +local map = core.misc.map return { "ThePrimeagen/harpoon", disable = not vim.fn.has("nvim-0.8.0"), @@ -14,7 +16,7 @@ return { "ThePrimeagen/harpoon", map("n", "<leader>a", function() harpoon:list():add() vim.notify("added "..vim.fn.expand("%:t").." to quickmarks", - vim.log.levels.INFO, { title = misc.appid }) + vim.log.levels.INFO, { title = core.misc.appid }) end, { desc = "add current file to quickmarks" }) map("n", "<C-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) |