mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-29 15:15:13 +02:00
30 lines
572 B
Nix
30 lines
572 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;
|
|
};
|
|
}
|