mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 02:59:49 +01:00
dashboard/startify: fix invalid reference to "neovimPlugins"
I could just make an overlay out of pettiness
This commit is contained in:
parent
232c8129ca
commit
6866bb7b38
1 changed files with 4 additions and 8 deletions
|
@ -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" =
|
||||||
|
|
Loading…
Reference in a new issue