mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
25 lines
516 B
Nix
25 lines
516 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 = cfg: { opts.termguicolors = lib.mkDefault true; };
|
|
}
|