mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 00:04:33 +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;
|
package = mkPackageOption "vim-illuminate" pkgs.vimPlugins.vim-illuminate;
|
||||||
|
|
||||||
filetypeOverrides = helpers.defaultNullOpts.mkAttrsOf (types.submodule {options = commonOptions;}) "{}" ''
|
filetypeOverrides =
|
||||||
Filetype specific overrides.
|
helpers.defaultNullOpts.mkNullable
|
||||||
The keys are strings to represent the filetype.
|
(with types; attrsOf (submodule {options = commonOptions;}))
|
||||||
'';
|
"{}"
|
||||||
|
''
|
||||||
|
Filetype specific overrides.
|
||||||
|
The keys are strings to represent the filetype.
|
||||||
|
'';
|
||||||
|
|
||||||
largeFileOverrides = mkOption {
|
largeFileOverrides = mkOption {
|
||||||
type = types.submodule {
|
type = types.submodule {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue