Restructure

This commit is contained in:
moritzrfs
2026-06-14 13:17:56 +02:00
parent 04fcbbc86d
commit 314ee79f40
8 changed files with 239 additions and 0 deletions

16
config/nvim/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