Porting to new API
This commit is contained in:
parent
c5903dd533
commit
d5ec1083d3
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -19,7 +19,7 @@ vim.g.maplocalleader = ' '
|
|||
-- 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
|
||||
---@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.arch = vim.g.os_uname.machine -- "x86_64, ..."
|
||||
|
||||
|
|
Loading…
Reference in a new issue