confusion

This commit is contained in:
Charlie Root 2025-01-18 22:45:57 +01:00
commit a37625c3b0
No known key found for this signature in database
12 changed files with 319 additions and 32 deletions

View file

@ -0,0 +1,25 @@
{
config,
lib,
...
}: let
inherit (lib.options) mkOption;
inherit (lib.types) str;
inherit (lib.nvim.types) mkPluginSetupOption;
cfg = config.vim.theme;
in {
onedark = {
setupOpts = mkPluginSetupOption "onedark" {
style = mkOption {
type = str;
default = cfg.style;
internal = true;
};
};
setup = ''
-- OneDark theme
require('onedark').load()
'';
styles = ["dark" "darker" "cool" "deep" "warm" "warmer"];
};
}