2024-11-03 17:43:28 +00:00
|
|
|
# Non-lazy Method {#sec-non-lazy-method}
|
2023-12-09 19:03:58 +00:00
|
|
|
|
2024-04-27 12:44:37 +00:00
|
|
|
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:
|
2023-12-09 19:03:58 +00:00
|
|
|
|
|
|
|
```nix
|
|
|
|
{
|
|
|
|
config.vim.extraPlugins = with pkgs.vimPlugins; {
|
|
|
|
aerial = {
|
|
|
|
package = aerial-nvim;
|
|
|
|
setup = ''
|
|
|
|
require('aerial').setup {
|
|
|
|
-- some lua configuration here
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
|
|
|
harpoon = {
|
|
|
|
package = harpoon;
|
|
|
|
setup = "require('harpoon').setup {}";
|
|
|
|
after = ["aerial"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
```
|