diff --git a/lua/oil/adapters/ssh/sshfs.lua b/lua/oil/adapters/ssh/sshfs.lua index 07dd3617..c7cc4be5 100644 --- a/lua/oil/adapters/ssh/sshfs.lua +++ b/lua/oil/adapters/ssh/sshfs.lua @@ -61,8 +61,8 @@ local function parse_ls_line(line) return name, type, meta end ----@param str string ----@return string +---@param str string String to escape +---@return string Escaped string local function shellescape(str) return "'" .. str:gsub("'", "'\\''") .. "'" end