mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins: migrate defaultPackage
-> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new `package` argument instead of the old `defaultPackage` argument.
This commit is contained in:
parent
285f6cbd7b
commit
1fd4b6c739
148 changed files with 126 additions and 277 deletions
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -11,7 +10,7 @@ with lib;
|
|||
helpers.neovim-plugin.mkNeovimPlugin {
|
||||
name = "cmp";
|
||||
originalName = "nvim-cmp";
|
||||
defaultPackage = pkgs.vimPlugins.nvim-cmp;
|
||||
package = "nvim-cmp";
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ in
|
|||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "codeium-vim";
|
||||
originalName = "codeium.vim";
|
||||
defaultPackage = pkgs.vimPlugins.codeium-vim;
|
||||
globalPrefix = "codeium_";
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
|
|
@ -9,7 +9,6 @@ with helpers.vim-plugin;
|
|||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "copilot-vim";
|
||||
originalName = "copilot.vim";
|
||||
defaultPackage = pkgs.vimPlugins.copilot-vim;
|
||||
globalPrefix = "copilot_";
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
|
|
@ -8,7 +8,7 @@ with lib;
|
|||
helpers.neovim-plugin.mkNeovimPlugin {
|
||||
name = "coq-nvim";
|
||||
originalName = "coq_nvim";
|
||||
defaultPackage = pkgs.vimPlugins.coq_nvim;
|
||||
package = "coq_nvim";
|
||||
|
||||
maintainers = [
|
||||
maintainers.traxys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue