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

View file

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