Compare commits

..

1 commit

Author SHA1 Message Date
Ching Pei Yang
22c105c08f
Merge 7f5c33605d into 6eb5bea5ba 2024-11-10 14:08:01 +03:00
4 changed files with 9 additions and 10 deletions

View file

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

View file

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

View file

@ -128,10 +128,9 @@ in {
# will return the configuration in full. # will return the configuration in full.
passthru.neovimConfig = vimOptions; passthru.neovimConfig = vimOptions;
meta = meta = {
neovim-wrapped.meta description = "Wrapped version of Neovim with additional helper scripts";
// { mainProgram = "nvim";
description = "Wrapped Neovim package with helper scripts to print the config (path)";
}; };
}; };
} }

View file

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