2024-04-20 03:57:11 +00:00
|
|
|
# Custom Plugins {#ch-custom-plugins}
|
|
|
|
|
2024-11-25 16:16:46 +00: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 12:44:37 +00:00
|
|
|
request to **nvf** to include it as a module or you may add it to your
|
|
|
|
configuration locally.
|
2024-04-20 03:57:11 +00:00
|
|
|
|
|
|
|
## Adding Plugins {#ch-adding-plugins}
|
|
|
|
|
2024-04-27 12:44:37 +00:00
|
|
|
There are multiple ways of adding custom plugins to your **nvf** configuration.
|
2024-04-20 03:57:11 +00:00
|
|
|
|
|
|
|
You can use custom plugins, before they are implemented in the flake. To add a
|
2024-11-26 07:15:04 +00:00
|
|
|
plugin to the runtime, you need to add it to the [](#opt-vim.startPlugins) list
|
|
|
|
in your configuration.
|
2024-04-20 03:57:11 +00:00
|
|
|
|
|
|
|
Adding a plugin to `startPlugins` will not allow you to configure the plugin
|
2024-11-26 07:15:04 +00:00
|
|
|
that you have added, but **nvf** provides multiple way of configuring any custom
|
2024-11-25 16:16:46 +00:00
|
|
|
plugins that you might have added to your configuration.
|
2024-04-20 03:57:11 +00:00
|
|
|
|
|
|
|
```{=include=} sections
|
|
|
|
custom-plugins/configuring.md
|
2024-11-04 15:50:50 +00:00
|
|
|
custom-plugins/lazy-method.md
|
|
|
|
custom-plugins/non-lazy-method.md
|
|
|
|
custom-plugins/legacy-method.md
|
2024-04-20 03:57:11 +00:00
|
|
|
```
|