mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 02:08:40 +02:00
helpers/vim-plugin/mkVimPlugin: add imports option
This commit is contained in:
parent
0de46481ac
commit
e8481b99f2
1 changed files with 8 additions and 5 deletions
|
@ -7,6 +7,7 @@ with lib; {
|
||||||
name,
|
name,
|
||||||
namespace ? "plugins",
|
namespace ? "plugins",
|
||||||
maintainers ? [],
|
maintainers ? [],
|
||||||
|
imports ? [],
|
||||||
# options
|
# options
|
||||||
description ? null,
|
description ? null,
|
||||||
package ? null,
|
package ? null,
|
||||||
|
@ -87,7 +88,9 @@ with lib; {
|
||||||
// packageOption
|
// packageOption
|
||||||
// pluginOptions;
|
// pluginOptions;
|
||||||
|
|
||||||
imports = optional (addExtraConfigRenameWarning && createSettingsOption) (
|
imports =
|
||||||
|
imports
|
||||||
|
++ optional (addExtraConfigRenameWarning && createSettingsOption) (
|
||||||
mkRenamedOptionModule
|
mkRenamedOptionModule
|
||||||
["plugins" name "extraConfig"]
|
["plugins" name "extraConfig"]
|
||||||
["plugins" name "settings"]
|
["plugins" name "settings"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue