helpers/vim-plugin: mkPlugin -> mkVimPlugin

This commit is contained in:
Gaetan Lepage 2024-01-25 14:32:49 +01:00 committed by Gaétan Lepage
parent 8f90372ee5
commit a68ee73947
21 changed files with 21 additions and 21 deletions

View file

@ -6,7 +6,7 @@
with lib;
(
with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkPlugin args {
mkVimPlugin args {
name = "copilot-vim";
description = "copilot.vim";
package = pkgs.vimPlugins.copilot-vim;

View file

@ -14,7 +14,7 @@ in
useDefaultPackage ? true,
...
}:
mkPlugin {inherit lib config pkgs;} {
mkVimPlugin {inherit lib config pkgs;} {
inherit name;
extraPlugins = extraPlugins ++ (lists.optional useDefaultPackage pkgs.vimPlugins.${name});
description = "Enable ${name}";