diff --git a/lua/telescope/from_entry.lua b/lua/telescope/from_entry.lua index 572a244..83e5aca 100644 --- a/lua/telescope/from_entry.lua +++ b/lua/telescope/from_entry.lua @@ -30,7 +30,7 @@ function from_entry.path(entry, validate, escape) return end - if validate and not vim.fn.filereadable(path) then + if validate and vim.fn.filereadable(path) == 0 then return end