mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
misc: fix mkEnableOption descriptions
This commit is contained in:
parent
23327700e2
commit
238f0c590e
39 changed files with 525 additions and 489 deletions
|
@ -5,7 +5,7 @@ let
|
|||
in
|
||||
{
|
||||
options.plugins.barbar = {
|
||||
enable = mkEnableOption "Enable barbar.nvim";
|
||||
enable = mkEnableOption "barbar.nvim";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
|
@ -32,13 +32,13 @@ in
|
|||
};
|
||||
|
||||
icons = mkOption {
|
||||
type = with types; nullOr (oneOf [bool (enum ["numbers both"])]);
|
||||
type = with types; nullOr (oneOf [ bool (enum [ "numbers both" ]) ]);
|
||||
default = null;
|
||||
description = "Enable/disable icons";
|
||||
};
|
||||
|
||||
iconCustomColors = mkOption {
|
||||
type = with types; nullOr (oneOf [bool str]);
|
||||
type = with types; nullOr (oneOf [ bool str ]);
|
||||
default = null;
|
||||
description = "Sets the icon highlight group";
|
||||
};
|
||||
|
@ -56,7 +56,8 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
cfg.package nvim-web-devicons
|
||||
cfg.package
|
||||
nvim-web-devicons
|
||||
];
|
||||
|
||||
# maps = genMaps cfg.keys;
|
||||
|
|
|
@ -25,7 +25,7 @@ in
|
|||
{
|
||||
options = {
|
||||
plugins.bufferline = {
|
||||
enable = mkEnableOption "Enable bufferline";
|
||||
enable = mkEnableOption "bufferline";
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
description = "Plugin to use for bufferline";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue