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