plugins: remove all uses of lib.nixvim.mkPluginPackageOption

This commit is contained in:
Matt Sturgeon 2024-09-04 22:00:43 +01:00
parent ae3a2c9d10
commit 7409e80bd2
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
77 changed files with 462 additions and 77 deletions

View file

@ -18,7 +18,12 @@ with lib;
{
enable = mkEnableOption "treesitter-refactor (requires plugins.treesitter.enable to be true)";
package = helpers.mkPluginPackageOption "treesitter-refactor" pkgs.vimPlugins.nvim-treesitter-refactor;
package = lib.mkPackageOption pkgs "treesitter-refactor" {
default = [
"vimPlugins"
"nvim-treesitter-refactor"
];
};
highlightDefinitions = {
inherit disable;