From f4fb2a5544d32eaf96662ca6c00e93b5f82ddb25 Mon Sep 17 00:00:00 2001 From: ThePrimeagen Date: Fri, 19 Feb 2021 08:30:27 -0700 Subject: [PATCH] oops --- lua/harpoon/manage-a-mark.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/harpoon/manage-a-mark.lua b/lua/harpoon/manage-a-mark.lua index 58d0c7b..26fcc74 100644 --- a/lua/harpoon/manage-a-mark.lua +++ b/lua/harpoon/manage-a-mark.lua @@ -51,7 +51,7 @@ function get_index_of(item) end if type(item) == 'string' then for idx = 1, #marked_files do - if marked_files[idx] == item then + if marked_files[idx] == item then return idx end end