plugins: swith to the new behaviour of mkRaw

This commit is contained in:
Gaetan Lepage 2023-11-22 12:00:32 +01:00 committed by Gaétan Lepage
parent 8cf2d943d2
commit 19f39c3b1b
32 changed files with 66 additions and 127 deletions

View file

@ -573,9 +573,7 @@ in {
formatting = with formatting; {
expandable_indicator = expandableIndicator;
inherit fields;
format =
helpers.ifNonNull' format
(helpers.mkRaw format);
format = helpers.mkRaw format;
};
matching = with matching; {
@ -657,11 +655,11 @@ in {
max_width =
if isInt maxWidth
then maxWidth
else helpers.ifNonNull' maxWidth (helpers.mkRaw maxWidth);
else helpers.mkRaw maxWidth;
max_height =
if isInt maxHeight
then maxHeight
else helpers.ifNonNull' maxHeight (helpers.mkRaw maxHeight);
else helpers.mkRaw maxHeight;
};
};
inherit experimental;