neovim(vim-startify): Fix random quotes

This commit is contained in:
Donovan Glover 2023-06-08 20:12:07 -04:00
parent 6f32f06b3d
commit f4db117bc3
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -194,7 +194,7 @@ in {
{
plugin = vim-startify;
config = ''
let g:startify_custom_header = startify#pad(split(system("cat (random choice (fd . ${pkgs.ponysay}/share/ponysay/quotes))"), '\n'))
let g:startify_custom_header = startify#pad(split(system("cat (random choice (fd . ${pkgs.ponysay}/share/ponysay/quotes --ignore-file ~/.config/fd/ponyignore))"), '\n'))
let g:startify_change_to_dir = 0
@ -232,6 +232,11 @@ in {
nixpkgs-master.legacyPackages.${VARIABLES.system}.vimPlugins.vim-crystal
];
};
xdg.configFile."fd/ponyignore".text = ''
snowflake+horsepower+bulkbiceps.1
snowflake+horsepower+bulkbiceps.2
'';
}
];
}