This commit is contained in:
2025-06-17 22:33:09 +08:00
parent 956b146cb2
commit 0bde25e91d
28 changed files with 858 additions and 40 deletions

20
lua/boot/util.lua Normal file
View File

@ -0,0 +1,20 @@
local M = {
uv = vim.uv or vim.loop,
has = function(what)
return vim.fn.has(what) == 1
end,
executable = function(what)
return vim.fn.executable(what) == 1
end,
}
setmetatable(M, {
---@param key string
__index = function(_, key)
return require("util." .. key)
end,
})
_G.NeoVim = M