mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: windows also has _NT
This commit is contained in:
parent
2abe23e493
commit
4842719dd0
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ local arch = os_uname.machine
|
|||
local platform = string.lower(os_uname.sysname)
|
||||
if platform == "mac" then
|
||||
platform = "darwin"
|
||||
elseif platform == "windows_nt" then
|
||||
platform = "windows-gnu"
|
||||
else
|
||||
platform = platform .. "-gnu"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue