fixup: stylua

This commit is contained in:
TJ DeVries
2021-08-06 13:14:13 -04:00
parent ae897cec08
commit 273942cc47

View File

@@ -278,13 +278,14 @@ utils.is_path_hidden = function(opts, path_display)
or path_display.hidden or path_display.hidden
end end
local is_uri = function(filename) local is_uri = function(filename)
return string.match(filename, "^%w+://") ~= nil return string.match(filename, "^%w+://") ~= nil
end end
utils.transform_path = function(opts, path) 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) local path_display = utils.get_default(opts.path_display, require("telescope.config").values.path_display)