mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
wrappers/modules: remove unused pluginWithConfigType
This commit is contained in:
parent
89b472606d
commit
92c623a436
1 changed files with 1 additions and 22 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue