diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2021-08-06 13:14:13 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2021-08-06 13:14:13 -0400 |
| commit | 273942cc478b356d7b2e0a5211281daaef69d161 (patch) | |
| tree | fbecb5a8052cb20313914a59e05f44431e534706 /lua/telescope/utils.lua | |
| parent | ae897cec0859bf4205f0adea06dc8fd1dd96a615 (diff) | |
fixup: stylua
Diffstat (limited to 'lua/telescope/utils.lua')
| -rw-r--r-- | lua/telescope/utils.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/telescope/utils.lua b/lua/telescope/utils.lua index e31f3c3..aa2293c 100644 --- a/lua/telescope/utils.lua +++ b/lua/telescope/utils.lua @@ -278,13 +278,14 @@ utils.is_path_hidden = function(opts, path_display) or path_display.hidden end - local is_uri = function(filename) return string.match(filename, "^%w+://") ~= nil end utils.transform_path = function(opts, path) - if is_uri(path) then return path end + if is_uri(path) then + return path + end local path_display = utils.get_default(opts.path_display, require("telescope.config").values.path_display) |
