From a7d54a2a26645000237e9bbaa23708766da641c1 Mon Sep 17 00:00:00 2001 From: DarkMatter-999 Date: Sun, 27 Aug 2023 10:40:30 +0530 Subject: [PATCH] Added support for MINGW neovim install on Windows hosts --- lua/presence/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/presence/init.lua b/lua/presence/init.lua index 1d2aefe..c3b31c1 100644 --- a/lua/presence/init.lua +++ b/lua/presence/init.lua @@ -181,7 +181,7 @@ end -- Normalize the OS name from 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" elseif uname.sysname:find("Darwin") then return "macos"