2023-02-03 08:36:08 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2023-11-07 01:50:27 +01:00
|
|
|
}: let
|
2024-02-26 06:05:23 +01:00
|
|
|
inherit (lib.modules) mkIf;
|
|
|
|
inherit (lib.nvim.dag) entryAnywhere;
|
2023-11-07 01:50:27 +01:00
|
|
|
|
2023-02-03 08:36:08 +01:00
|
|
|
cfg = config.vim.dashboard.dashboard-nvim;
|
|
|
|
in {
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
vim.startPlugins = [
|
|
|
|
"dashboard-nvim"
|
|
|
|
];
|
|
|
|
|
2024-07-20 10:30:48 +02:00
|
|
|
vim.pluginRC.dashboard-nvim = entryAnywhere ''
|
2023-04-02 18:58:57 +02:00
|
|
|
require("dashboard").setup{}
|
2023-02-03 08:36:08 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|