big changes to neovim, might streamline later, also some term environment settings

This commit is contained in:
cnst
2024-08-19 21:24:21 +02:00
parent 5f2487c4ab
commit dffdbb1581
52 changed files with 1471 additions and 447 deletions

View File

@@ -1,32 +1,37 @@
{ lib
, config
, ...
}:
let
inherit (lib) mkEnableOption mkIf;
cfg = config.modules.devtools.neovim.plugins.startify;
in
{
programs.nixvim.plugins.startify = {
enable = true;
options = {
modules.devtools.neovim.plugins.startify.enable = mkEnableOption "Enables Startify plugin for Neovim";
};
settings = {
custom_header = [
""
" "
" "
" "
" "
" "
" "
];
config = mkIf cfg.enable {
programs.nixvim.plugins.startify = {
enable = true;
# When opening a file or bookmark, change to its directory.
change_to_dir = false;
settings = {
custom_header = [
""
" "
" "
" "
" "
" "
" "
];
# By default, the fortune header uses ASCII characters, because they work for everyone.
# If you set this option to 1 and your 'encoding' is "utf-8", Unicode box-drawing characters will
# be used instead.
use_unicode = true;
lists = [{type = "dir";}];
files_number = 30;
skiplist = [
"flake.lock"
];
change_to_dir = false;
use_unicode = true;
lists = [{ type = "dir"; }];
files_number = 30;
skiplist = [ "flake.lock" ];
};
};
};
}