mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
neovim(vim-startify): Fix random quotes
This commit is contained in:
parent
6f32f06b3d
commit
f4db117bc3
@ -194,7 +194,7 @@ in {
|
|||||||
{
|
{
|
||||||
plugin = vim-startify;
|
plugin = vim-startify;
|
||||||
config = ''
|
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
|
let g:startify_change_to_dir = 0
|
||||||
|
|
||||||
@ -232,6 +232,11 @@ in {
|
|||||||
nixpkgs-master.legacyPackages.${VARIABLES.system}.vimPlugins.vim-crystal
|
nixpkgs-master.legacyPackages.${VARIABLES.system}.vimPlugins.vim-crystal
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."fd/ponyignore".text = ''
|
||||||
|
snowflake+horsepower+bulkbiceps.1
|
||||||
|
snowflake+horsepower+bulkbiceps.2
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user