Skip to content

Commit

Permalink
fix: santinize
Browse files Browse the repository at this point in the history
  • Loading branch information
phanen committed Mar 31, 2024
1 parent 2f6cc3f commit 94d97a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/fzf-lua-overlay/providers/recentfiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ return {
end

for file, _ in pairs(session_files) do
if not bufmap[file] then
local fs_stat = not utils.file_is_fifo(file) and utils.file_is_readable(file)
if fs_stat and not bufmap[file] then
add_entry(file, co)
end
end
Expand Down

0 comments on commit 94d97a4

Please sign in to comment.