mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
make extraPluginType singular instead of a list
This commit is contained in:
parent
2167481cc2
commit
afec39f3d9
2 changed files with 9 additions and 9 deletions
|
@ -89,20 +89,20 @@ with lib; let
|
|||
"nvim-dap-ui"
|
||||
];
|
||||
# You can either use the name of the plugin or a package.
|
||||
pluginsType = with types;
|
||||
listOf (
|
||||
nullOr (
|
||||
either
|
||||
(enum availablePlugins)
|
||||
package
|
||||
)
|
||||
pluginType = with types;
|
||||
nullOr (
|
||||
either
|
||||
package
|
||||
(enum availablePlugins)
|
||||
);
|
||||
|
||||
pluginsType = types.listOf pluginType;
|
||||
|
||||
extraPluginType = with types;
|
||||
submodule {
|
||||
options = {
|
||||
package = mkOption {
|
||||
type = pluginsType;
|
||||
type = pluginType;
|
||||
};
|
||||
dependencies = mkOption {
|
||||
type = listOf str;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue