nix-community.nixvim/plugins/colorschemes/one.nix
Austin Horstman a7012e7864
treewide: originalName -> packPathName
We used to only think of it as the plugin repo's name, but we have been
needing to use it for the name of the plugin's packpath location.
2024-12-13 21:29:00 -06:00

27 lines
517 B
Nix

{
lib,
...
}:
lib.nixvim.vim-plugin.mkVimPlugin {
name = "one";
isColorscheme = true;
packPathName = "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;
};
}