mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
Merge pull request #209 from NotAShelf/fix-startify
dashboard/startify: fix invalid reference to "neovimPlugins"
This commit is contained in:
commit
9ceab45944
1 changed files with 4 additions and 8 deletions
|
@ -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" =
|
||||
|
|
Loading…
Reference in a new issue