File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function M.command_exists(cmd)
2121end
2222
2323function M .name ()
24- local os_name = vim .loop .os_uname ().sysname :lower ()
24+ local os_name = vim .uv .os_uname ().sysname :lower ()
2525
2626 if os_name == " darwin" then
2727 return " macos"
@@ -51,11 +51,17 @@ function M.is_macos()
5151end
5252
5353function M .architecture ()
54- local machine = vim .loop .os_uname ().machine
54+ local machine = vim .uv .os_uname ().machine
5555
5656 if machine == " x86_64" then
5757 return " amd64"
58- elseif machine == " aarch64_be" or machine == " aarch64" or machine == " armv8b" or machine == " armv8l" then
58+ elseif
59+ machine == " aarch64"
60+ or machine == " aarch64_be"
61+ or machine == " arm64"
62+ or machine == " armv8b"
63+ or machine == " armv8l"
64+ then
5965 return " aarch64"
6066 else
6167 return " unknown"
You can’t perform that action at this time.
0 commit comments