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

@ -2,14 +2,13 @@
lib,
helpers,
config,
pkgs,
...
}:
with lib;
helpers.neovim-plugin.mkNeovimPlugin {
name = "treesitter-context";
originalName = "nvim-treesitter-context";
defaultPackage = pkgs.vimPlugins.nvim-treesitter-context;
package = "nvim-treesitter-context";
maintainers = [ maintainers.GaetanLepage ];

View file

@ -10,7 +10,7 @@ helpers.neovim-plugin.mkNeovimPlugin {
name = "treesitter";
originalName = "nvim-treesitter";
luaName = "nvim-treesitter.configs";
defaultPackage = pkgs.vimPlugins.nvim-treesitter;
package = "nvim-treesitter";
description = ''
Provides an interface to [tree-sitter]

View file

@ -2,7 +2,6 @@
lib,
helpers,
config,
pkgs,
...
}:
with lib;
@ -10,7 +9,7 @@ helpers.neovim-plugin.mkNeovimPlugin {
name = "ts-autotag";
originalName = "nvim-ts-autotag";
luaName = "nvim-ts-autotag";
defaultPackage = pkgs.vimPlugins.nvim-ts-autotag;
package = "nvim-ts-autotag";
maintainers = [ maintainers.GaetanLepage ];