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

@ -225,21 +225,11 @@ in {
else cfg.fallbackSeverity;
log_level = cfg.logLevel;
notify_format = cfg.notifyFormat;
on_attach =
helpers.ifNonNull' cfg.onAttach
(helpers.mkRaw cfg.onAttach);
on_init =
helpers.ifNonNull' cfg.onInit
(helpers.mkRaw cfg.onInit);
on_exit =
helpers.ifNonNull' cfg.onExit
(helpers.mkRaw cfg.onExit);
root_dir =
helpers.ifNonNull' cfg.rootDir
(helpers.mkRaw cfg.rootDir);
should_attach =
helpers.ifNonNull' cfg.shouldAttach
(helpers.mkRaw cfg.shouldAttach);
on_attach = helpers.mkRaw cfg.onAttach;
on_init = helpers.mkRaw cfg.onInit;
on_exit = helpers.mkRaw cfg.onExit;
root_dir = helpers.mkRaw cfg.rootDir;
should_attach = helpers.mkRaw cfg.shouldAttach;
temp_dir = cfg.tempDir;
update_in_insert = cfg.updateInInsert;