mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 03:50:09 +02:00
plugins: swith to the new behaviour of mkRaw
This commit is contained in:
parent
8cf2d943d2
commit
19f39c3b1b
32 changed files with 66 additions and 127 deletions
|
@ -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
|
||||
(
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue