lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions

This commit is contained in:
Gaetan Lepage 2024-01-25 16:15:55 +01:00 committed by Gaétan Lepage
parent 8b91bf010a
commit e2c3459d1d
89 changed files with 103 additions and 97 deletions

16
lib/neovim-plugin.nix Normal file
View file

@ -0,0 +1,16 @@
{
lib,
nixvimOptions,
}:
with lib; {
extraOptionsOptions = {
extraOptions = mkOption {
default = {};
type = with types; attrsOf anything;
description = ''
These attributes will be added to the table parameter for the setup function.
(Can override other attributes set by nixvim)
'';
};
};
}