mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-23 05:40:44 +00:00
Compare commits
1 commit
469e3be017
...
2b5eec5e4b
Author | SHA1 | Date | |
---|---|---|---|
2b5eec5e4b |
3 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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 = {};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue