mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-30 04:14:28 +02:00
lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions
This commit is contained in:
parent
8b91bf010a
commit
e2c3459d1d
89 changed files with 103 additions and 97 deletions
|
@ -10,7 +10,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.cmp-tabby =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
host = helpers.defaultNullOpts.mkStr "http://localhost:5000" ''
|
||||
The adress of the tabby host server.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
with lib; let
|
||||
cfg = config.plugins.cmp-tabnine;
|
||||
in {
|
||||
options.plugins.cmp-tabnine = helpers.extraOptionsOptions;
|
||||
options.plugins.cmp-tabnine = helpers.neovim-plugin.extraOptionsOptions;
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
extraConfigLua = ''
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
meta.maintainers = [maintainers.GaetanLepage];
|
||||
|
||||
options.plugins.codeium-nvim =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
package = helpers.mkPackageOption "codeium.nvim" pkgs.vimPlugins.codeium-nvim;
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ with lib; let
|
|||
cfg = config.plugins.copilot-cmp;
|
||||
in {
|
||||
options.plugins.copilot-cmp =
|
||||
helpers.extraOptionsOptions
|
||||
helpers.neovim-plugin.extraOptionsOptions
|
||||
// {
|
||||
event =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
with lib; let
|
||||
cfg = config.plugins.crates-nvim;
|
||||
in {
|
||||
options.plugins.crates-nvim = helpers.extraOptionsOptions;
|
||||
options.plugins.crates-nvim = helpers.neovim-plugin.extraOptionsOptions;
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
extraConfigLua = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue