mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-07 15:54:31 +02:00
plugin/illuminate: Avoid using mkAttrsOf with submodules (#853)
This confuses the documentation, as mentioned in the function definition.
This commit is contained in:
parent
3b9fa101fb
commit
5d49b9b66d
1 changed files with 8 additions and 4 deletions
|
@ -73,10 +73,14 @@ in {
|
|||
|
||||
package = mkPackageOption "vim-illuminate" pkgs.vimPlugins.vim-illuminate;
|
||||
|
||||
filetypeOverrides = helpers.defaultNullOpts.mkAttrsOf (types.submodule {options = commonOptions;}) "{}" ''
|
||||
Filetype specific overrides.
|
||||
The keys are strings to represent the filetype.
|
||||
'';
|
||||
filetypeOverrides =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
(with types; attrsOf (submodule {options = commonOptions;}))
|
||||
"{}"
|
||||
''
|
||||
Filetype specific overrides.
|
||||
The keys are strings to represent the filetype.
|
||||
'';
|
||||
|
||||
largeFileOverrides = mkOption {
|
||||
type = types.submodule {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue