treewide: add nvf base16 theming
This commit is contained in:
parent
44f2dd55d5
commit
56e4085c73
2 changed files with 13 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
|
@ -12,9 +13,11 @@
|
|||
vimAlias = true;
|
||||
enableLuaLoader = true;
|
||||
preventJunkFiles = true;
|
||||
options.tabstop = 4;
|
||||
autoIndent = false;
|
||||
useSystemClipboard = true;
|
||||
options = {
|
||||
tabstop = 4;
|
||||
autoindent = false;
|
||||
};
|
||||
|
||||
luaConfigPost = ''
|
||||
vim.opt.formatoptions:remove('c')
|
||||
|
@ -34,7 +37,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
theme = {
|
||||
theme = lib.mkDefault {
|
||||
enable = true;
|
||||
name = "catppuccin";
|
||||
style = "macchiato";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkOption mkIf attrNames;
|
||||
inherit (lib) mkDefault mkEnableOption mkOption mkIf attrNames;
|
||||
inherit (lib.types) path package enum;
|
||||
inherit (lib') generateGtkColors;
|
||||
cfg = config.theme;
|
||||
|
@ -273,6 +273,12 @@ in {
|
|||
palette = builtins.attrValues (builtins.mapAttrs (_: color: "#${color}") scheme.palette);
|
||||
};
|
||||
};
|
||||
|
||||
nvf.settings.vim.theme = {
|
||||
enable = true;
|
||||
name = "base16";
|
||||
base16-colors = scheme.palette;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue