plugins/copilot-vim: remove deprecation warning

This commit is contained in:
Gaetan Lepage 2024-02-08 16:18:40 +01:00 committed by Gaétan Lepage
parent eec8d6b1b2
commit b30e8a1eda

View file

@ -3,8 +3,7 @@
pkgs, pkgs,
... ...
} @ args: } @ args:
with lib; with lib; (
(
with (import ../helpers.nix {inherit lib;}).vim-plugin; with (import ../helpers.nix {inherit lib;}).vim-plugin;
mkVimPlugin args { mkVimPlugin args {
name = "copilot-vim"; name = "copilot-vim";
@ -40,9 +39,4 @@ with lib;
}; };
}; };
} }
) )
// {
imports = [
(lib.mkRenamedOptionModule ["plugins" "copilot"] ["plugins" "copilot-vim"])
];
}