another mistake

name should match package.pname
This commit is contained in:
Ching Pei Yang 2024-11-10 19:57:55 +01:00 committed by raf
parent cca14c7d29
commit a0281d329b
2 changed files with 2 additions and 2 deletions

View file

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

View file

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