mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixvim/plugins: fix modules
This commit is contained in:
parent
72ce52a9ee
commit
2c5b4c9308
@ -7,7 +7,9 @@ in
|
|||||||
options.plugins.firenvim = {
|
options.plugins.firenvim = {
|
||||||
enable = lib.mkEnableOption "Firenvim";
|
enable = lib.mkEnableOption "Firenvim";
|
||||||
package = helpers.mkPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
package = helpers.mkPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
||||||
settings = helpers.mkSettingsOption {
|
settings = lib.mkOption {
|
||||||
|
type = with lib.types; attrsOf anything;
|
||||||
|
default = { };
|
||||||
description = ''
|
description = ''
|
||||||
Extra configuration options for Firenvim.
|
Extra configuration options for Firenvim.
|
||||||
'';
|
'';
|
||||||
|
@ -24,7 +24,7 @@ in
|
|||||||
|
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
type = lib.types.submodule {
|
type = lib.types.submodule {
|
||||||
freefromType = with lib.types; attrsOf anything;
|
freeformType = with lib.types; attrsOf anything;
|
||||||
|
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
(lib.mkIf
|
(lib.mkIf
|
||||||
|
@ -9,7 +9,9 @@ in
|
|||||||
|
|
||||||
package = helpers.mkPackageOption "smart-splits.nvim" pkgs.vimPlugins.smart-splits-nvim;
|
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 = ''
|
description = ''
|
||||||
Configuration to be passed as argument to `setup` function of the
|
Configuration to be passed as argument to `setup` function of the
|
||||||
plugin.
|
plugin.
|
||||||
|
Loading…
Reference in New Issue
Block a user