mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/vimtex: fix error when user does not set any extraConfig option (#216)
This commit is contained in:
parent
e439cb79df
commit
6e027c40f2
1 changed files with 11 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue