mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-23 10:49:41 +01:00
colorschemes/poimandres: migrate to by-name
This commit is contained in:
parent
88c1a4dbfa
commit
9fd6528aed
3 changed files with 0 additions and 1 deletions
|
|
@ -1,58 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib.nixvim) defaultNullOpts mkNullOrOption;
|
||||
in
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "poimandres";
|
||||
isColorscheme = true;
|
||||
package = "poimandres-nvim";
|
||||
|
||||
maintainers = [ lib.maintainers.GaetanLepage ];
|
||||
|
||||
settingsOptions = {
|
||||
bold_vert_split = defaultNullOpts.mkBool false ''
|
||||
Use bold vertical separators.
|
||||
'';
|
||||
|
||||
dim_nc_background = defaultNullOpts.mkBool false ''
|
||||
Dim 'non-current' window backgrounds.
|
||||
'';
|
||||
|
||||
disable_background = defaultNullOpts.mkBool false ''
|
||||
Whether to disable the background.
|
||||
'';
|
||||
|
||||
disable_float_background = defaultNullOpts.mkBool false ''
|
||||
Whether to disable the background for floats.
|
||||
'';
|
||||
|
||||
disable_italics = defaultNullOpts.mkBool false ''
|
||||
Whether to disable italics.
|
||||
'';
|
||||
|
||||
dark_variant = defaultNullOpts.mkStr "main" ''
|
||||
Dark variant.
|
||||
'';
|
||||
|
||||
groups = mkNullOrOption (with lib.types; attrsOf (either str (attrsOf str))) ''
|
||||
Which color to use for each group.
|
||||
|
||||
default: see [source](https://github.com/olivercederborg/poimandres.nvim/blob/main/lua/poimandres/init.lua)
|
||||
'';
|
||||
|
||||
highlight_groups = defaultNullOpts.mkAttrsOf lib.types.str { } ''
|
||||
Highlight groups.
|
||||
'';
|
||||
};
|
||||
|
||||
settingsExample = {
|
||||
bold_vert_split = false;
|
||||
dim_nc_background = true;
|
||||
disable_background = false;
|
||||
disable_float_background = false;
|
||||
disable_italics = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
imports = [
|
||||
./cmp
|
||||
|
||||
./colorschemes/poimandres.nix
|
||||
./colorschemes/rose-pine.nix
|
||||
./colorschemes/solarized-osaka.nix
|
||||
./colorschemes/tokyonight.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue