mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-18 09:44:37 +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
|
@ -120,13 +120,11 @@ in {
|
|||
cleaning_interval = cleaningInterval;
|
||||
};
|
||||
trigger_events = cfg.triggerEvents;
|
||||
condition =
|
||||
helpers.ifNonNull' cfg.condition
|
||||
(helpers.mkRaw cfg.condition);
|
||||
condition = helpers.mkRaw cfg.condition;
|
||||
write_all_buffers = cfg.writeAllBuffers;
|
||||
debounce_delay = cfg.debounceDelay;
|
||||
callbacks = with cfg.callbacks;
|
||||
mapAttrs (name: value: helpers.ifNonNull' value (helpers.mkRaw value)) {
|
||||
mapAttrs (_: helpers.mkRaw) {
|
||||
inherit enabling disabling;
|
||||
before_asserting_save = beforeAssertingSave;
|
||||
before_saving = beforeSaving;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue