1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-23 10:49:41 +01:00

colorschemes/nord: migrate to by-name

This commit is contained in:
Heitor Augusto 2025-11-02 19:46:47 -03:00
parent 082a8b9823
commit 1568905212
No known key found for this signature in database
GPG key ID: 3EEC05B0024AF8A4
3 changed files with 0 additions and 1 deletions

View file

@ -1,51 +0,0 @@
{
lib,
...
}:
let
inherit (lib.nixvim) defaultNullOpts;
in
lib.nixvim.plugins.mkVimPlugin {
name = "nord";
isColorscheme = true;
package = "nord-nvim";
globalPrefix = "nord_";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsOptions = {
contrast = defaultNullOpts.mkBool false ''
Make sidebars and popup menus like nvim-tree and telescope have a different background.
'';
borders = defaultNullOpts.mkBool false ''
Enable the border between vertically split windows.
'';
disable_background = defaultNullOpts.mkBool false ''
Disable the setting of background color so that NeoVim can use your terminal background.
'';
cursorline_transparent = defaultNullOpts.mkBool false ''
Set the cursorline transparent/visible.
'';
enable_sidebar_background = defaultNullOpts.mkBool false ''
Re-enables the background of the sidebar if you disabled the background of everything.
'';
italic = defaultNullOpts.mkBool true ''
Enables/disables italics.
'';
uniform_diff_background = defaultNullOpts.mkBool false ''
Enables/disables colorful backgrounds when used in _diff_ mode.
'';
};
settingsExample = {
borders = true;
disable_background = true;
italic = false;
};
}

View file

@ -2,7 +2,6 @@
imports = [
./cmp
./colorschemes/nord.nix
./colorschemes/one.nix
./colorschemes/onedark.nix
./colorschemes/oxocarbon.nix