From 7c27baa7ad1ee1e7ebd7f0164626c11893126ddc Mon Sep 17 00:00:00 2001 From: abeldekat Date: Tue, 30 Apr 2024 09:29:00 +0200 Subject: [PATCH] feat: support REPLACE --- lua/harpoonline/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/harpoonline/init.lua b/lua/harpoonline/init.lua index c42d25a..6216bc2 100644 --- a/lua/harpoonline/init.lua +++ b/lua/harpoonline/init.lua @@ -165,6 +165,7 @@ end H.create_extensions = function(Extensions) H.harpoon_plugin:extend({ [Extensions.event_names.ADD] = H.produce }) H.harpoon_plugin:extend({ [Extensions.event_names.REMOVE] = H.produce }) + H.harpoon_plugin:extend({ [Extensions.event_names.REPLACE] = H.produce }) end -- If the current buffer is harpooned, return the index of the harpoon mark