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

@ -129,9 +129,7 @@
extraOptions =
{
inherit (cfg) cmd filetypes autostart;
root_dir =
helpers.ifNonNull' cfg.rootDir
(helpers.mkRaw cfg.rootDir);
root_dir = helpers.mkRaw cfg.rootDir;
on_attach =
helpers.ifNonNull' cfg.onAttach
(

View file

@ -43,7 +43,7 @@ with lib; {
preview_empty_name = cfg.previewEmptyName;
show_message = cfg.showMessage;
input_buffer_type = cfg.inputBufferType;
post_hook = helpers.ifNonNull' cfg.postHook (helpers.mkRaw cfg.postHook);
post_hook = helpers.mkRaw cfg.postHook;
};
in
mkIf cfg.enable {