mirror of
https://github.com/neovim/neovim.git
synced 2025-12-05 22:22:44 +00:00
test: iswin(): detect without nvim session
This commit is contained in:
@@ -174,7 +174,7 @@ local os_name = (function()
|
||||
end)()
|
||||
|
||||
local function iswin()
|
||||
return os_name() == 'windows'
|
||||
return package.config:sub(1,1) == '\\'
|
||||
end
|
||||
|
||||
-- Executes a VimL function.
|
||||
|
||||
Reference in New Issue
Block a user