mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
modules: let extraPlugins accept null values
This commit is contained in:
+2
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user