1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

lib/helpers: mkRaw now behaves like mkRawIfNonNull

This commit is contained in:
Gaetan Lepage 2023-11-22 11:19:28 +01:00 committed by Gaétan Lepage
parent e5cc0c093b
commit 8cf2d943d2
2 changed files with 5 additions and 4 deletions

View file

@ -83,7 +83,7 @@ Because the options may not have the same case (and may require some pre-process
```nix
{
some_opt = cfg.someOpt;
some_raw_opt = helpers.ifNonNull' cfg.someRawOpt (mkRaw cfg.someRawOpt);
some_raw_opt = helpers.mkRaw cfg.someRawOpt;
some_meta_opt = with cfg.metaOpt; # metaOpt = { foo = ...; someOtherOpt = ...; };
{
inherit foo;