2024-04-20 05:57:11 +02:00
|
|
|
# Custom Plugins {#ch-custom-plugins}
|
|
|
|
|
2024-11-25 17:16:46 +01:00
|
|
|
**nvf**, by default, exposes a wide variety of plugins as module options for
|
|
|
|
your convenience and bundles necessary dependencies into **nvf**'s runtime. In
|
|
|
|
case a plugin is not available in **nvf**, you may consider making a pull
|
2024-04-27 14:44:37 +02:00
|
|
|
request to **nvf** to include it as a module or you may add it to your
|
|
|
|
configuration locally.
|
2024-04-20 05:57:11 +02:00
|
|
|
|
|
|
|
## Adding Plugins {#ch-adding-plugins}
|
|
|
|
|
2024-04-27 14:44:37 +02:00
|
|
|
There are multiple ways of adding custom plugins to your **nvf** configuration.
|
2024-04-20 05:57:11 +02:00
|
|
|
|
|
|
|
You can use custom plugins, before they are implemented in the flake. To add a
|
2024-11-26 08:15:04 +01:00
|
|
|
plugin to the runtime, you need to add it to the [](#opt-vim.startPlugins) list
|
|
|
|
in your configuration.
|
2024-04-20 05:57:11 +02:00
|
|
|
|
|
|
|
Adding a plugin to `startPlugins` will not allow you to configure the plugin
|
2024-11-26 08:15:04 +01:00
|
|
|
that you have added, but **nvf** provides multiple way of configuring any custom
|
2024-11-25 17:16:46 +01:00
|
|
|
plugins that you might have added to your configuration.
|
2024-04-20 05:57:11 +02:00
|
|
|
|
|
|
|
```{=include=} sections
|
|
|
|
custom-plugins/configuring.md
|
2024-11-04 16:50:50 +01:00
|
|
|
custom-plugins/lazy-method.md
|
|
|
|
custom-plugins/non-lazy-method.md
|
|
|
|
custom-plugins/legacy-method.md
|
2024-04-20 05:57:11 +02:00
|
|
|
```
|