Skip to content

Commit

Permalink
Merge pull request #209 from NotAShelf/fix-startify
Browse files Browse the repository at this point in the history
dashboard/startify: fix invalid reference to "neovimPlugins"
  • Loading branch information
NotAShelf authored Feb 9, 2024
2 parents 232c812 + 6866bb7 commit 9ceab45
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions modules/dashboard/startify/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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" =
Expand Down

0 comments on commit 9ceab45

Please sign in to comment.