plugins/vimtex: fix error when user does not set any extraConfig option (#216)

This commit is contained in:
Gaétan Lepage
2023-03-02 13:01:31 +00:00
committed by GitHub
parent e439cb79df
commit 6e027c40f2
+11 -7
View File
@@ -13,13 +13,17 @@ in
package = helpers.mkPackageOption "vimtex" pkgs.vimPlugins.vimtex;
extraConfig = helpers.mkNullOrOption types.attrs ''
The configuration options for vimtex without the 'vimtex_' prefix.
Example: To set 'vimtex_compiler_enabled' to 1, write
extraConfig = {
compiler_enabled = true;
};
'';
extraConfig = mkOption {
type = types.attrs;
description = ''
The configuration options for vimtex without the 'vimtex_' prefix.
Example: To set 'vimtex_compiler_enabled' to 1, write
extraConfig = {
compiler_enabled = true;
};
'';
default = {};
};
};
config = let