mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 08:14:33 +02:00
28 lines
568 B
Nix
28 lines
568 B
Nix
{
|
|
lib,
|
|
helpers,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
helpers.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 = helpers.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; };
|
|
}
|