Lazy-load colorschemes and key-analyzer

defaults.lazy = false meant every colorscheme spec with opts ran setup() on each
launch; gruvbox, kanagawa, nightfox and moonbow all showed up in the startup
profile. lazy.nvim loads colorscheme plugins on demand via ColorSchemePre. Drop
monochrome (last commit 2021) and onedarker (2022), point install.colorscheme at
the theme actually in use, and gate key-analyzer behind its command.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 12:27:20 -04:00
co-authored by Claude Opus 5
parent b25b5a128d
commit aa459c4f52
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ require("lazy").setup({
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
install = { colorscheme = { "tokyonight", "habamax" } },
install = { colorscheme = { "kanagawa-dragon", "habamax" } },
checker = { enabled = true }, -- automatically check for plugin updates
git = {
concurrency = 3, -- reduce concurrent git operations (default is higher)
+12 -6
View File
@@ -7,6 +7,7 @@ return {
},
{
"ellisonleao/gruvbox.nvim",
lazy = true,
opts = {
contrast = "hard",
palette_overrides = {
@@ -29,12 +30,14 @@ return {
},
{
"arturgoms/moonbow.nvim",
lazy = true,
opts = {
dim_inactive = true,
},
},
{
"rebelot/kanagawa.nvim",
lazy = true,
opts = {
dimInactive = true,
colors = {
@@ -62,9 +65,9 @@ return {
},
},
},
{ "kdheepak/monochrome.nvim" },
{
"folke/tokyonight.nvim",
lazy = true,
opts = {
style = "night",
dim_inactive = true,
@@ -73,6 +76,7 @@ return {
{
"catppuccin/nvim",
name = "catppuccin",
lazy = true,
opts = {
flavour = "mocha",
dim_inactive = {
@@ -80,15 +84,16 @@ return {
},
},
},
{ "LunarVim/onedarker.nvim" },
{
"EdenEast/nightfox.nvim",
lazy = true,
opts = {
dim_inactive = true,
},
},
{
"mcchrish/zenbones.nvim",
lazy = true,
dependencies = { "rktjmp/lush.nvim" },
config = function()
local opts = {
@@ -106,26 +111,27 @@ return {
},
{
"HoNamDuong/hybrid.nvim",
lazy = false,
lazy = true,
opts = {},
},
{
-- My own colorscheme, aka. thallada/farout.nvim
"thallada/farout.nvim",
lazy = true,
opts = {
dim_inactive = true,
},
},
{
"xero/miasma.nvim",
lazy = false,
priority = 1000,
lazy = true,
},
{
"ptdewey/darkearth-nvim",
priority = 1000,
lazy = true,
},
{
"nyoom-engineering/oxocarbon.nvim",
lazy = true,
},
}
+1
View File
@@ -1,4 +1,5 @@
return {
"meznaric/key-analyzer.nvim",
cmd = "KeyAnalyzer",
opts = {},
}