mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 04:35:08 +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
|
@ -10,7 +10,12 @@ with lib;
|
|||
options.plugins.persistence = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "persistence.nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "persistence.nvim" pkgs.vimPlugins.persistence-nvim;
|
||||
package = lib.mkPackageOption pkgs "persistence.nvim" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"persistence-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
dir = helpers.defaultNullOpts.mkStr {
|
||||
__raw = ''vim.fn.expand(vim.fn.stdpath("state") .. "/sessions/")'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue