mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
plugins: remove all uses of lib.nixvim.mkPluginPackageOption
This commit is contained in:
parent
ae3a2c9d10
commit
7409e80bd2
77 changed files with 462 additions and 77 deletions
|
@ -86,7 +86,12 @@ in
|
|||
// {
|
||||
enable = mkEnableOption "diffview";
|
||||
|
||||
package = helpers.mkPluginPackageOption "diffview" pkgs.vimPlugins.diffview-nvim;
|
||||
package = lib.mkPackageOption pkgs "diffview" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"diffview-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
iconsPackage = lib.mkPackageOption pkgs [
|
||||
"vimPlugins"
|
||||
|
|
|
@ -14,7 +14,12 @@ in
|
|||
plugins.git-worktree = {
|
||||
enable = mkEnableOption "git-worktree";
|
||||
|
||||
package = helpers.mkPluginPackageOption "git-worktree" pkgs.vimPlugins.git-worktree-nvim;
|
||||
package = lib.mkPackageOption pkgs "git-worktree" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"git-worktree-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
gitPackage = lib.mkPackageOption pkgs "git" {
|
||||
nullable = true;
|
||||
|
|
|
@ -14,7 +14,12 @@ in
|
|||
plugins.gitgutter = {
|
||||
enable = mkEnableOption "gitgutter";
|
||||
|
||||
package = helpers.mkPluginPackageOption "gitgutter" pkgs.vimPlugins.gitgutter;
|
||||
package = lib.mkPackageOption pkgs "gitgutter" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"gitgutter"
|
||||
];
|
||||
};
|
||||
|
||||
gitPackage = lib.mkPackageOption pkgs "git" {
|
||||
nullable = true;
|
||||
|
|
|
@ -10,7 +10,12 @@ with lib;
|
|||
options.plugins.gitlinker = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "gitlinker.nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "gitlinker.nvim" pkgs.vimPlugins.gitlinker-nvim;
|
||||
package = lib.mkPackageOption pkgs "gitlinker.nvim" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"gitlinker-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
remote = helpers.mkNullOrOption types.str "Force the use of a specific remote.";
|
||||
|
||||
|
|
|
@ -12,7 +12,12 @@ with lib;
|
|||
options.plugins.gitmessenger = {
|
||||
enable = mkEnableOption "gitmessenger";
|
||||
|
||||
package = helpers.mkPluginPackageOption "git-messenger" pkgs.vimPlugins.git-messenger-vim;
|
||||
package = lib.mkPackageOption pkgs "git-messenger" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"git-messenger-vim"
|
||||
];
|
||||
};
|
||||
|
||||
closeOnCursorMoved = helpers.defaultNullOpts.mkBool true ''
|
||||
A popup window is no longer closed automatically when moving a cursor after the window is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue