mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 01:25:22 +02:00
plugins/colorschemes: remove with lib;
This commit is contained in:
parent
fba168aba7
commit
77cbd0313d
13 changed files with 94 additions and 101 deletions
|
@ -4,7 +4,6 @@
|
|||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
inherit (lib.nixvim) defaultNullOpts;
|
||||
in
|
||||
|
@ -14,7 +13,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config {
|
|||
originalName = "tokyonight.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.tokyonight-nvim;
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
# TODO introduced 2024-04-15: remove 2024-06-15
|
||||
optionsRenamedToSettings = [
|
||||
|
@ -111,7 +110,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config {
|
|||
};
|
||||
|
||||
sidebars =
|
||||
defaultNullOpts.mkListOf types.str
|
||||
defaultNullOpts.mkListOf lib.types.str
|
||||
[
|
||||
"qf"
|
||||
"help"
|
||||
|
@ -120,7 +119,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config {
|
|||
Set a darker background on sidebar-like windows.
|
||||
'';
|
||||
|
||||
day_brightness = defaultNullOpts.mkNullable (types.numbers.between 0.0 1.0) 0.3 ''
|
||||
day_brightness = defaultNullOpts.mkNullable (lib.types.numbers.between 0.0 1.0) 0.3 ''
|
||||
Adjusts the brightness of the colors of the **Day** style.
|
||||
Number between 0 and 1, from dull to vibrant colors.
|
||||
'';
|
||||
|
@ -179,5 +178,5 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin config {
|
|||
on_highlights = "function(highlights, colors) end";
|
||||
};
|
||||
|
||||
extraConfig = cfg: { opts.termguicolors = mkDefault true; };
|
||||
extraConfig = cfg: { opts.termguicolors = lib.mkDefault true; };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue