diff --git a/lua/harpoon/list.lua b/lua/harpoon/list.lua index df594662..c44c1576 100644 --- a/lua/harpoon/list.lua +++ b/lua/harpoon/list.lua @@ -218,7 +218,7 @@ function HarpoonList:get_by_display(name) if index == -1 then return nil end - return self.items[index] + return self.items[index], index end --- much inefficiencies. dun care