mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-16 04:04:34 +02:00
misc: fix mkEnableOption descriptions
This commit is contained in:
parent
23327700e2
commit
238f0c590e
39 changed files with 525 additions and 489 deletions
|
@ -7,7 +7,7 @@ in
|
|||
{
|
||||
options = {
|
||||
colorschemes.base16 = {
|
||||
enable = mkEnableOption "Enable base16";
|
||||
enable = mkEnableOption "base16";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
{
|
||||
options = {
|
||||
colorschemes.gruvbox = {
|
||||
enable = mkEnableOption "Enable gruvbox";
|
||||
enable = mkEnableOption "gruvbox";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
@ -15,10 +15,10 @@ in
|
|||
description = "Plugin to use for gruvbox";
|
||||
};
|
||||
|
||||
italics = mkEnableOption "Enable italics";
|
||||
bold = mkEnableOption "Enable bold";
|
||||
underline = mkEnableOption "Enable underlined text";
|
||||
undercurl = mkEnableOption "Enable undercurled text";
|
||||
italics = mkEnableOption "italics";
|
||||
bold = mkEnableOption "bold";
|
||||
underline = mkEnableOption "underlined text";
|
||||
undercurl = mkEnableOption "undercurled text";
|
||||
|
||||
contrastDark = mkOption {
|
||||
type = types.nullOr (types.enum [ "soft" "medium" "hard" ]);
|
||||
|
@ -110,9 +110,9 @@ in
|
|||
description = "Improved warnings";
|
||||
};
|
||||
|
||||
transparentBg = mkEnableOption "Transparent background";
|
||||
transparentBg = mkEnableOption "transparent background";
|
||||
|
||||
trueColor = mkEnableOption "Enable true color support";
|
||||
trueColor = mkEnableOption "true color support";
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options = {
|
||||
colorschemes.nord = {
|
||||
enable = mkEnableOption "Enable nord";
|
||||
enable = mkEnableOption "nord";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options = {
|
||||
colorschemes.one = {
|
||||
enable = mkEnableOption "Enable vim-one";
|
||||
enable = mkEnableOption "vim-one";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options = {
|
||||
colorschemes.onedark = {
|
||||
enable = mkEnableOption "Enable onedark";
|
||||
enable = mkEnableOption "onedark";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
{
|
||||
options = {
|
||||
colorschemes.tokyonight = {
|
||||
enable = mkEnableOption "Enable tokyonight";
|
||||
enable = mkEnableOption "tokyonight";
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.tokyonight-nvim;
|
||||
|
@ -24,8 +24,7 @@ in
|
|||
default = true;
|
||||
description = "Configure the colors used when opening a :terminal in Neovim";
|
||||
};
|
||||
transparent =
|
||||
mkEnableOption "Enable this to disable setting the background color";
|
||||
transparent = mkEnableOption "disable setting the background color";
|
||||
styles =
|
||||
let
|
||||
mkBackgroundStyle = name: mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue