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:
Matt Sturgeon 2024-09-02 14:05:11 +01:00
parent 285f6cbd7b
commit 1fd4b6c739
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
148 changed files with 126 additions and 277 deletions

View file

@ -6,7 +6,7 @@
helpers.vim-plugin.mkVimPlugin {
name = "committia";
originalName = "committia.vim";
defaultPackage = pkgs.vimPlugins.committia-vim;
package = "committia-vim";
globalPrefix = "committia_";
maintainers = [ helpers.maintainers.alisonjenkins ];

View file

@ -7,7 +7,7 @@
helpers.vim-plugin.mkVimPlugin {
name = "fugitive";
originalName = "vim-fugitive";
defaultPackage = pkgs.vimPlugins.vim-fugitive;
package = "vim-fugitive";
maintainers = [ lib.maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "git-conflict";
originalName = "git-conflict.nvim";
defaultPackage = pkgs.vimPlugins.git-conflict-nvim;
package = "git-conflict-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -10,7 +10,7 @@ in
lib.nixvim.neovim-plugin.mkNeovimPlugin {
name = "gitblame";
originalName = "git-blame.nvim";
defaultPackage = pkgs.vimPlugins.git-blame-nvim;
package = "git-blame-nvim";
maintainers = with lib.maintainers; [ GaetanLepage ];

View file

@ -1,7 +1,6 @@
{
lib,
helpers,
pkgs,
...
}:
with lib;
@ -10,7 +9,7 @@ with lib;
helpers.vim-plugin.mkVimPlugin {
name = "gitignore";
originalName = "gitignore.nvim";
defaultPackage = pkgs.vimPlugins.gitignore-nvim;
package = "gitignore-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -9,7 +9,7 @@ with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "gitsigns";
originalName = "gitsigns.nvim";
defaultPackage = pkgs.vimPlugins.gitsigns-nvim;
package = "gitsigns-nvim";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ with lib;
helpers.vim-plugin.mkVimPlugin {
name = "lazygit";
originalName = "lazygit.nvim";
defaultPackage = pkgs.vimPlugins.lazygit-nvim;
package = "lazygit-nvim";
globalPrefix = "lazygit_";
maintainers = [ helpers.maintainers.AndresBermeoMarinelli ];

View file

@ -8,7 +8,6 @@
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "neogit";
defaultPackage = pkgs.vimPlugins.neogit;
maintainers = [ maintainers.GaetanLepage ];

View file

@ -8,7 +8,7 @@ with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "octo";
originalName = "octo.nvim";
defaultPackage = pkgs.vimPlugins.octo-nvim;
package = "octo-nvim";
maintainers = [ helpers.maintainers.svl ];