mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +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,6 +1,5 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
@ -11,7 +10,6 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
|
|||
name = "conform-nvim";
|
||||
luaName = "conform";
|
||||
originalName = "conform.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.conform-nvim;
|
||||
|
||||
maintainers = [ lib.maintainers.khaneliman ];
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
|
@ -9,7 +8,7 @@ helpers.neovim-plugin.mkNeovimPlugin {
|
|||
name = "lsp-lines";
|
||||
luaName = "lsp_lines";
|
||||
originalName = "lsp_lines.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.lsp_lines-nvim;
|
||||
package = "lsp_lines-nvim";
|
||||
|
||||
# This plugin has no settings; it is configured via vim.diagnostic.config
|
||||
hasSettings = false;
|
||||
|
|
|
@ -2,14 +2,13 @@
|
|||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
helpers.neovim-plugin.mkNeovimPlugin {
|
||||
name = "lsp-status";
|
||||
originalName = "lsp-status.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.lsp-status-nvim;
|
||||
package = "lsp-status-nvim";
|
||||
maintainers = [ helpers.maintainers.b3nb5n ];
|
||||
|
||||
settingsOptions =
|
||||
|
|
|
@ -1,13 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
helpers,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
helpers.neovim-plugin.mkNeovimPlugin {
|
||||
name = "nvim-lightbulb";
|
||||
defaultPackage = pkgs.vimPlugins.nvim-lightbulb;
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
|
|
|
@ -2,14 +2,13 @@
|
|||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
helpers.vim-plugin.mkVimPlugin {
|
||||
name = "schemastore";
|
||||
originalName = "SchemaStore.nvim";
|
||||
defaultPackage = pkgs.vimPlugins.SchemaStore-nvim;
|
||||
package = "SchemaStore-nvim";
|
||||
|
||||
maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ with lib;
|
|||
helpers.neovim-plugin.mkNeovimPlugin {
|
||||
name = "trouble";
|
||||
originalName = "trouble-nvim";
|
||||
defaultPackage = pkgs.vimPlugins.trouble-nvim;
|
||||
package = "trouble-nvim";
|
||||
|
||||
maintainers = [ maintainers.loicreynier ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue