Skip to content

Commit

Permalink
Add MINGW32_NT to get_os_info (#1613)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielFrigo4 authored Dec 8, 2024
1 parent 708aba1 commit 0460ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/core/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
local function get_os_info()
local os = vim.loop.os_uname().sysname:lower()

if os:find("windows_nt") then
if os:find("windows_nt") or os:find("mingw32_nt") then
return "windows"
elseif os == "darwin" then
return "mac"
Expand Down

0 comments on commit 0460ccd

Please sign in to comment.