diff --git a/index.html b/index.html index a3288bc2..d515470e 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@ $ nix run github:notashelf/neovim-flake#maximal
You can use custom plugins, before they are implemented in the flake.
To add a plugin, you need to add it to your config’s config.vim.startPlugins
array.
As of version 0.5, we have a more extensive API for configuring plugins, under vim.extraPlugins
.
Instead of using DAGs exposed by the library, you may use the extra plugin module as follows:
{
- config.vim.extraPlugins = with pkgs.vimPlugins; [{
+ config.vim.extraPlugins = with pkgs.vimPlugins; {
aerial = {
package = aerial-nvim;
setup = ''
@@ -57,7 +57,7 @@ To add a plugin, you need to add it to your config’s con
after = ["aerial"];
};
};
-}]
Users who have not yet updated to 0.5, or prefer a more hands-on approach may use the old method where the load orderof the plugins is determined by DAGs.
{ +}