nixvim/plugins: fix modules

This commit is contained in:
Gabriel Arazas 2024-02-15 06:42:26 +08:00
parent 72ce52a9ee
commit 2c5b4c9308
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 7 additions and 3 deletions

View File

@ -7,7 +7,9 @@ in
options.plugins.firenvim = {
enable = lib.mkEnableOption "Firenvim";
package = helpers.mkPackageOption "firenvim" pkgs.vimPlugins.firenvim;
settings = helpers.mkSettingsOption {
settings = lib.mkOption {
type = with lib.types; attrsOf anything;
default = { };
description = ''
Extra configuration options for Firenvim.
'';

View File

@ -24,7 +24,7 @@ in
settings = lib.mkOption {
type = lib.types.submodule {
freefromType = with lib.types; attrsOf anything;
freeformType = with lib.types; attrsOf anything;
config = lib.mkMerge [
(lib.mkIf

View File

@ -9,7 +9,9 @@ in
package = helpers.mkPackageOption "smart-splits.nvim" pkgs.vimPlugins.smart-splits-nvim;
settings = helpers.mkSettingsOption {
settings = lib.mkOption {
type = with lib.types; attrsOf anything;
default = { };
description = ''
Configuration to be passed as argument to `setup` function of the
plugin.