Skip to content

Commit 0460ccd

Browse files
Add MINGW32_NT to get_os_info (#1613)
1 parent 708aba1 commit 0460ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neorg/core/config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
local function get_os_info()
3737
local os = vim.loop.os_uname().sysname:lower()
3838

39-
if os:find("windows_nt") then
39+
if os:find("windows_nt") or os:find("mingw32_nt") then
4040
return "windows"
4141
elseif os == "darwin" then
4242
return "mac"

0 commit comments

Comments
 (0)