Neovim: More Windows
This commit is contained in:
@@ -8,9 +8,7 @@ end
|
|||||||
|
|
||||||
M.normalize_path = function(path)
|
M.normalize_path = function(path)
|
||||||
if not path then return nil end
|
if not path then return nil end
|
||||||
return string.find(vim.loop.os_uname().sysname, "NT")
|
return IS_WINDOWS() and path:gsub("\\", "/") or path
|
||||||
and path:gsub("\\", "/")
|
|
||||||
or path
|
|
||||||
end
|
end
|
||||||
|
|
||||||
M.get_file_path = function()
|
M.get_file_path = function()
|
||||||
|
|||||||
Reference in New Issue
Block a user