feat: lazy-load colorschemes
This commit is contained in:
parent
c5ff1fd608
commit
6d04396c39
2 changed files with 10 additions and 21 deletions
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue