mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
Compare commits
No commits in common. "12b650fea7bddcdf9773f3b6f831c59c7b660a75" and "c4e75c4c1aafa84e2c758cf82e7102cc72ce934e" have entirely different histories.
12b650fea7
...
c4e75c4c1a
3 changed files with 5 additions and 5 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
};
|
||||
|
||||
setupOpts = mkOption {
|
||||
type = attrsOf anything;
|
||||
type = submodule {freeformType = attrsOf anything;};
|
||||
description = "Options to pass to the setup function";
|
||||
default = {};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue