Porting to new API

This commit is contained in:
Imbus 2025-01-19 19:50:10 +01:00
parent c5903dd533
commit d5ec1083d3

View file

@ -19,7 +19,7 @@ vim.g.maplocalleader = ' '
-- For a full summary of this table, run ":lua vim.inspect(vim.g.os_uname)" -- For a full summary of this table, run ":lua vim.inspect(vim.g.os_uname)"
-- Shows up as undefined but executes and behaves flawlessly as of 2024-08-18 -- Shows up as undefined but executes and behaves flawlessly as of 2024-08-18
---@diagnostic disable-next-line: undefined-field ---@diagnostic disable-next-line: undefined-field
vim.g.os_uname = vim.loop.os_uname() vim.g.os_uname = vim.uv.os_uname()
vim.g.sysname = vim.g.os_uname.sysname -- "Linux, FreeBSD, ..." vim.g.sysname = vim.g.os_uname.sysname -- "Linux, FreeBSD, ..."
vim.g.arch = vim.g.os_uname.machine -- "x86_64, ..." vim.g.arch = vim.g.os_uname.machine -- "x86_64, ..."