fix(windows): file operation preview uses only backslash path separator (#336)
This commit is contained in:
parent
be0a1ecbf0
commit
96f0983e75
2 changed files with 10 additions and 4 deletions
|
|
@ -40,7 +40,7 @@ end
|
|||
M.to_short_os_path = function(path, entry_type)
|
||||
local shortpath = fs.shorten_path(fs.posix_to_os_path(path))
|
||||
if entry_type == "directory" then
|
||||
shortpath = util.addslash(shortpath)
|
||||
shortpath = util.addslash(shortpath, true)
|
||||
end
|
||||
return shortpath
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue