diff --git a/lua/telescope/utils.lua b/lua/telescope/utils.lua index 7fba7e9..bce2c2c 100644 --- a/lua/telescope/utils.lua +++ b/lua/telescope/utils.lua @@ -230,6 +230,9 @@ local calc_result_length = function(truncate_len) end utils.transform_path = function(opts, path) + if path == nil then + return + end if is_uri(path) then return path end