Files
Miguel Palhas 020bf7716e fix(config): cleanup bugs, redundancy, and add agent-friendly auto-reload
- remove broken mini.files mappings (plugin disabled; yazi is used now)
- dedupe tint.nvim spec (drop plugins/theme.lua, keep ui.lua)
- drop dead copilot cmp source + moot Supermaven symbol (Supermaven stays inline)
- remove yaml from biome formatters (biome has no yaml support)
- collapse 3x biome chain to a single biome-check pass
- remove duplicate insert-mode jk mapping
- lazy-load tailwind-tools by filetype
- diagnostics: update_in_insert = false
- untrack .nvimlog, add .gitignore
- auto-reload files changed on disk (autoread + checktime autocmds)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-29 14:12:45 +01:00

39 lines
851 B
Lua

vim.g.base46_cache = vim.fn.stdpath "data" .. "/base46/"
vim.g.mapleader = " "
-- bootstrap lazy and all plugins
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
local repo = "https://github.com/folke/lazy.nvim.git"
vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
end
vim.opt.rtp:prepend(lazypath)
local lazy_config = require "configs.lazy"
-- load plugins
require("lazy").setup({
{
"NvChad/NvChad",
lazy = false,
branch = "v2.5",
import = "nvchad.plugins",
},
{ import = "plugins" },
}, lazy_config)
-- load theme
pcall(dofile, vim.g.base46_cache .. "defaults")
pcall(dofile, vim.g.base46_cache .. "statusline")
require "options"
require "nvchad.autocmds"
require "autocmds"
vim.schedule(function()
require "mappings"
end)