From d4be088c1673b618682df90018789fbf27dc1967 Mon Sep 17 00:00:00 2001 From: Benjamin Chaussé Date: Mon, 22 Jul 2024 10:52:22 -0400 Subject: Per-tab harpoons!!!! --- lua/plugins/harpoon.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/plugins/harpoon.lua b/lua/plugins/harpoon.lua index 52d91ba..5dab5d9 100644 --- a/lua/plugins/harpoon.lua +++ b/lua/plugins/harpoon.lua @@ -2,10 +2,16 @@ return { "theprimeagen/harpoon", branch = "harpoon2", dependencies = { - "nvim-lua/plenary.nvim", - "nvim-telescope/telescope.nvim", + { "nvim-lua/plenary.nvim" }, + { "nvim-telescope/telescope.nvim" }, + { "mike-jl/harpoonEx", opts = { reload_on_dir_change = true } }, }, - opts = {}, + config = function() + local hp = require("harpoon") + local hpx = require("harpoonEx") + hp:extend(hpx.extend()) + hp.setup({}) + end, keys = { { -- Add Harpoon "a", -- cgit v1.2.3