wrappers/modules: remove unused pluginWithConfigType

This commit is contained in:
Gaetan Lepage 2024-02-09 21:20:07 +01:00 committed by Gaétan Lepage
parent 89b472606d
commit 92c623a436

View file

@ -4,28 +4,7 @@
lib, lib,
... ...
}: }:
with lib; let with lib; {
pluginWithConfigType = types.submodule {
options = {
config = mkOption {
type = types.lines;
description = "vimscript for this plugin to be placed in init.vim";
default = "";
};
optional =
mkEnableOption "optional"
// {
description = "Don't load by default (load with :packadd)";
};
plugin = mkOption {
type = types.package;
description = "vim plugin";
};
};
};
in {
options = { options = {
viAlias = mkOption { viAlias = mkOption {
type = types.bool; type = types.bool;