nix-community.nixvim/plugins/colorschemes/one.nix
Matt Sturgeon 7b94afceaf
plugins: cleanup most extraConfig args
- Remove `cfg` where it is unused.
- Use `opts` where necessary.
2024-11-20 20:55:16 +00:00

27 lines
517 B
Nix

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