From a0281d329b82930fd794d3eb80390b694d65b25a Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Sun, 10 Nov 2024 19:57:55 +0100 Subject: [PATCH] another mistake name should match package.pname --- docs/manual/configuring/custom-plugins/configuring.md | 2 +- docs/manual/configuring/custom-plugins/lazy-method.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/configuring/custom-plugins/configuring.md b/docs/manual/configuring/custom-plugins/configuring.md index 71ce9b8f..ce29163a 100644 --- a/docs/manual/configuring/custom-plugins/configuring.md +++ b/docs/manual/configuring/custom-plugins/configuring.md @@ -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; diff --git a/docs/manual/configuring/custom-plugins/lazy-method.md b/docs/manual/configuring/custom-plugins/lazy-method.md index 3ca0756f..c6fd7106 100644 --- a/docs/manual/configuring/custom-plugins/lazy-method.md +++ b/docs/manual/configuring/custom-plugins/lazy-method.md @@ -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 = {