mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 08:05:23 +02:00
modules: let extraPlugins accept null values
This commit is contained in:
parent
167167e4b3
commit
17905dec3d
1 changed files with 2 additions and 1 deletions
|
@ -29,9 +29,10 @@ in
|
|||
{
|
||||
options = {
|
||||
extraPlugins = mkOption {
|
||||
type = with types; listOf (either package pluginWithConfigType);
|
||||
type = with types; listOf (nullOr (either package pluginWithConfigType));
|
||||
default = [ ];
|
||||
description = "List of vim plugins to install";
|
||||
apply = builtins.filter (p: p != null);
|
||||
};
|
||||
|
||||
extraPackages = mkOption {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue