Skip to content

Commit

Permalink
fix: delete history sometimes malfunction
Browse files Browse the repository at this point in the history
  • Loading branch information
zongben committed Dec 13, 2024
1 parent d0f0e18 commit b3f914c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/project_nvim/utils/history.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ local function delete_duplicates(tbl)
end

function M.delete_project(project)
for k, v in ipairs(M.recent_projects) do
for k, v in pairs(M.recent_projects) do
if v == project.value then
M.recent_projects[k] = nil
end
Expand Down

0 comments on commit b3f914c

Please sign in to comment.