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:
+1
-1
@@ -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)
|
||||
|
||||
@@ -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,4 +1,5 @@
|
||||
return {
|
||||
"meznaric/key-analyzer.nvim",
|
||||
cmd = "KeyAnalyzer",
|
||||
opts = {},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user