Compare commits

..

1 commit

Author SHA1 Message Date
raf
2b5eec5e4b
Merge c4e75c4c1a into 8997e62b3b 2024-11-10 12:05:47 +00:00
3 changed files with 5 additions and 5 deletions

View file

@ -11,8 +11,8 @@ be used if the plugin uses a `require('module').setup(...)` pattern. Otherwise,
```nix
{
config.vim.lazy.plugins = {
aerial.nvim = {
# ^^^^^^^^^ this name should match the package.pname or package.name
aerial-nvim = {
# ^^^^^^^^^ this name should match the package.pname or package.name
package = aerial-nvim;
setupModule = "aerial";

View file

@ -6,9 +6,9 @@ As of version **0.7**, we exposed an API for configuring lazy-loaded plugins via
```nix
{
config.vim.lazy.plugins = {
"aerial.nvim" = {
aerial = {
package = pkgs.vimPlugins.aerial-nvim;
setupModule = "aerial";
setupModule = aerial;
setupOpts = {
option_name = true;
};

View file

@ -62,7 +62,7 @@
};
setupOpts = mkOption {
type = attrsOf anything;
type = submodule {freeformType = attrsOf anything;};
description = "Options to pass to the setup function";
default = {};
};