feat: lazy-load colorschemes

This commit is contained in:
Youwen Wu 2024-12-29 15:24:46 -08:00
parent c5ff1fd608
commit 6d04396c39
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 10 additions and 21 deletions

View file

@ -122,10 +122,6 @@
# for some reason trigger_load still fails to load this in the
# proper order
telescope-ui-select-nvim
# colorschemes
rose-pine
oxocarbon-nvim
];
};
@ -178,6 +174,10 @@
lsp-progress-nvim
lazydev-nvim
obsidian-nvim
# colorschemes
rose-pine
oxocarbon-nvim
];
};

View file

@ -239,22 +239,11 @@ return {
end,
},
{
"obsidian.nvim",
filetypes = { "markdown" },
after = function()
require("obsidian").setup({
ui = { enable = false },
workspaces = {
{
name = "vault",
path = "~/Documents/vaults/vault",
},
{
name = "alexandria",
path = "~/Documents/alexandria/content",
},
},
})
end,
"rose-pine",
colorscheme = { "rose-pine", "rose-pine-dawn", "rose-pine-moon", "rose-pine-main" },
},
{
"oxocarbon.nvim",
colorscheme = { "oxocarbon" },
},
}