mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 15:30:27 +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
|
@ -145,7 +145,12 @@ in
|
|||
plugins.fidget = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "fidget-nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "fidget-nvim" pkgs.vimPlugins.fidget-nvim;
|
||||
package = lib.mkPackageOption pkgs "fidget-nvim" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"fidget-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
# Options related to LSP progress subsystem
|
||||
progress = {
|
||||
|
|
|
@ -10,7 +10,12 @@ with lib;
|
|||
options.plugins.inc-rename = {
|
||||
enable = mkEnableOption "inc-rename, a plugin previewing LSP renaming";
|
||||
|
||||
package = helpers.mkPluginPackageOption "inc-rename" pkgs.vimPlugins.inc-rename-nvim;
|
||||
package = lib.mkPackageOption pkgs "inc-rename" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"inc-rename-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
cmdName = helpers.defaultNullOpts.mkStr "IncRename" "the name of the command";
|
||||
|
||||
|
|
|
@ -13,7 +13,12 @@ in
|
|||
options.plugins.efmls-configs = {
|
||||
enable = lib.mkEnableOption "efmls-configs, premade configurations for efm-langserver";
|
||||
|
||||
package = helpers.mkPluginPackageOption "efmls-configs-nvim" pkgs.vimPlugins.efmls-configs-nvim;
|
||||
package = lib.mkPackageOption pkgs "efmls-configs-nvim" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"efmls-configs-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
externallyManagedPackages = lib.mkOption {
|
||||
type = with lib.types; either (enum [ "all" ]) (listOf str);
|
||||
|
|
|
@ -13,7 +13,12 @@ in
|
|||
options.plugins.lsp-format = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "lsp-format.nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "lsp-format.nvim" pkgs.vimPlugins.lsp-format-nvim;
|
||||
package = lib.mkPackageOption pkgs "lsp-format.nvim" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"lsp-format-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
setup = mkOption {
|
||||
type =
|
||||
|
|
|
@ -49,7 +49,12 @@ in
|
|||
plugins.lspsaga = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "lspsaga.nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "lspsaga" pkgs.vimPlugins.lspsaga-nvim;
|
||||
package = lib.mkPackageOption pkgs "lspsaga" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"lspsaga-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
iconsPackage = lib.mkPackageOption pkgs [
|
||||
"vimPlugins"
|
||||
|
|
|
@ -31,7 +31,12 @@ in
|
|||
plugins.wtf = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "wtf.nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "wtf.nvim" pkgs.vimPlugins.wtf-nvim;
|
||||
package = lib.mkPackageOption pkgs "wtf.nvim" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"wtf-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
keymaps = mapAttrs (
|
||||
action: defaults:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue