diff options
Diffstat (limited to 'lua/telescope')
| -rw-r--r-- | lua/telescope/utils.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
