Merge pull request #209 from NotAShelf/fix-startify

dashboard/startify: fix invalid reference to "neovimPlugins"
This commit is contained in:
raf 2024-02-09 09:59:51 +03:00 committed by GitHub
commit 9ceab45944
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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