mirror of
https://github.com/jiriks74/presence.nvim
synced 2024-11-27 14:19:00 +01:00
Added support for MINGW neovim install on Windows hosts
This commit is contained in:
parent
87c857a56b
commit
a7d54a2a26
@ -181,7 +181,7 @@ end
|
|||||||
|
|
||||||
-- Normalize the OS name from uname
|
-- Normalize the OS name from uname
|
||||||
function Presence.get_os_name(uname)
|
function Presence.get_os_name(uname)
|
||||||
if uname.sysname:find("Windows") then
|
if uname.sysname:find("Windows") or uname.sysname:find("MINGW") then
|
||||||
return "windows"
|
return "windows"
|
||||||
elseif uname.sysname:find("Darwin") then
|
elseif uname.sysname:find("Darwin") then
|
||||||
return "macos"
|
return "macos"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user