mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: iswin(): detect without nvim session
This commit is contained in:
parent
d07661b9a3
commit
b4b09afabd
@ -174,7 +174,7 @@ local os_name = (function()
|
|||||||
end)()
|
end)()
|
||||||
|
|
||||||
local function iswin()
|
local function iswin()
|
||||||
return os_name() == 'windows'
|
return package.config:sub(1,1) == '\\'
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Executes a VimL function.
|
-- Executes a VimL function.
|
||||||
|
Loading…
Reference in New Issue
Block a user