dashboard/startify: fix invalid reference to "neovimPlugins"

I could just make an overlay out of pettiness
This commit is contained in:
NotAShelf 2024-02-09 09:56:05 +03:00
parent 232c8129ca
commit 6866bb7b38
No known key found for this signature in database
GPG Key ID: 02D1DD3FA08B6B29
1 changed files with 4 additions and 8 deletions

View File

@ -4,17 +4,13 @@
lib,
...
}: let
inherit (lib) mkIf;
inherit (lib) mkIf nvim;
inherit (nvim.vim) mkVimBool;
cfg = config.vim.dashboard.startify;
mkVimBool = val:
if val
then "1"
else "0";
in {
config = mkIf (cfg.enable) {
vim.startPlugins = with pkgs.neovimPlugins; [vim-startify];
config = mkIf cfg.enable {
vim.startPlugins = with pkgs.vimPlugins; [vim-startify];
vim.globals = {
"startify_custom_header" =