diff --git a/docs/manual/configuring/custom-plugins/configuring.md b/docs/manual/configuring/custom-plugins/configuring.md index 71ce9b8..ce29163 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 3ca0756..c6fd710 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 = {