nix-community.nixvim/plugins/colorschemes/one.nix
2024-08-22 09:57:31 -05:00

27 lines
563 B
Nix

{
lib,
config,
pkgs,
...
}:
lib.nixvim.vim-plugin.mkVimPlugin config {
name = "one";
isColorscheme = true;
originalName = "vim-one";
defaultPackage = pkgs.vimPlugins.vim-one;
globalPrefix = "one_";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsOptions = {
allow_italics = lib.nixvim.defaultNullOpts.mkBool false ''
Whether to enable _italic_ (as long as your terminal supports it).
'';
};
settingsExample = {
allow_italics = true;
};
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
}