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

@ -98,7 +98,12 @@ in
options.plugins.clangd-extensions = helpers.neovim-plugin.extraOptionsOptions // {
enable = mkEnableOption "clangd_extensions, plugins implementing clangd LSP extensions";
package = helpers.mkPluginPackageOption "clangd_extensions.nvim" pkgs.vimPlugins.clangd_extensions-nvim;
package = lib.mkPackageOption pkgs "clangd_extensions.nvim" {
default = [
"vimPlugins"
"clangd_extensions-nvim"
];
};
enableOffsetEncodingWorkaround = mkEnableOption ''
utf-16 offset encoding. This is used to work around the warning: