mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 05:44:52 +01:00
fix: must add gnu to platform
This commit is contained in:
parent
ca2a3b3767
commit
51d65eab3d
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,11 @@ local os_uname = vim.loop.os_uname()
|
|||
local arch = os_uname.machine
|
||||
|
||||
local platform = string.lower(os_uname.sysname)
|
||||
if platform == "mac" then platform = "darwin" end
|
||||
if platform == "mac" then
|
||||
platform = "darwin"
|
||||
else
|
||||
platform = platform .. "-gnu"
|
||||
end
|
||||
|
||||
local ext = os_uname.sysname
|
||||
if os_uname.sysname == "Windows" then ext = "dll"
|
||||
|
|
Loading…
Reference in a new issue