Feat: Windows Support (#57)

This MR adds support for Windows machines
This commit is contained in:
Harrison (Harry) Cramer
2023-09-06 20:25:54 -04:00
committed by GitHub
parent ad3203c214
commit 57b842cad5
3 changed files with 17 additions and 5 deletions

View File

@@ -19,6 +19,13 @@ M.has_reviewer = function(reviewer)
return has_reviewer
end
M.is_windows = function()
if vim.fn.has("win32") == 1 or vim.fn.has("win32unix") == 1 then
return true
end
return false
end
M.P = function(...)
local objects = {}
for i = 1, select("#", ...) do