mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-26 18:58:43 +02:00
plugins/telescope: make enabledExtensions
public
Allow users to add telescope extensions we don't support yet.
This commit is contained in:
parent
9d858de2e9
commit
2494e0af08
1 changed files with 12 additions and 3 deletions
|
@ -60,10 +60,19 @@ helpers.neovim-plugin.mkNeovimPlugin config {
|
||||||
|
|
||||||
enabledExtensions = mkOption {
|
enabledExtensions = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
description = "A list of enabled extensions. Don't use this directly";
|
|
||||||
default = [ ];
|
default = [ ];
|
||||||
internal = true;
|
description = ''
|
||||||
visible = false;
|
A list of enabled extensions.
|
||||||
|
|
||||||
|
You should only use this option directly if the Telescope extension you wish to enable is not natively supported
|
||||||
|
by nixvim.
|
||||||
|
|
||||||
|
Most extensions are available as `plugins.telescope.extensions.<name>.enable`, although some plugins that do
|
||||||
|
more than just provide Telescope extensions may use `plugins.<name>.enableTelescope` instead.
|
||||||
|
|
||||||
|
If you add an extension to this list manually, it is your responsibility to ensure the relevant plugin is also
|
||||||
|
added to `extraPackages`.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue