mini/hues: init

This commit is contained in:
LilleAila 2025-01-17 20:32:10 +01:00
commit 755052cea9
No known key found for this signature in database
GPG key ID: D1ACCDCF2B9B9799
7 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
inherit (lib.nvim.dag) entryAnywhere;
inherit (lib.nvim.lua) toLuaObject;
cfg = config.vim.mini.hues;
in {
vim = mkIf cfg.enable {
startPlugins = ["mini-hues"];
pluginRC.mini-hues = entryAnywhere ''
require("mini.hues").setup(${toLuaObject cfg.setupOpts})
'';
};
}