Add scripts

This commit is contained in:
moritzrfs
2026-06-14 13:04:03 +02:00
commit bb83b30aa9
6 changed files with 548 additions and 0 deletions

16
init.lua Normal file
View File

@@ -0,0 +1,16 @@
-- init.lua - standardized neovim config for managed hosts.
-- Design goals: fast, works offline (pure-lua core), plugins are optional.
-- core: zero external dependencies, always loads
require("core.options")
require("core.keymaps")
require("core.autocmds")
-- plugins: best-effort. if bootstrap fails (no network on a fresh box),
-- the editor still works perfectly with the core config above.
local ok, err = pcall(require, "core.plugins")
if not ok then
vim.schedule(function()
vim.notify("plugins not loaded (offline?): " .. tostring(err), vim.log.levels.WARN)
end)
end