diff --git a/modules/nixvim/performance.nix b/modules/nixvim/performance.nix index e29ad3f..c24b3b4 100644 --- a/modules/nixvim/performance.nix +++ b/modules/nixvim/performance.nix @@ -1,19 +1,10 @@ -{ config, lib, ... }: -let - snacksPickerEnabled = - config.plugins.snacks.enable - && lib.hasAttr "profiler" config.plugins.snacks.settings - && config.plugins.snacks.settings.profiler.enabled; - - lazyEnabled = config.plugins.lz-n.enable || config.plugins.lazy.enable; -in { performance = { byteCompileLua = { - enable = !lazyEnabled; - nvimRuntime = !lazyEnabled; - configs = !snacksPickerEnabled; - plugins = !snacksPickerEnabled; + enable = true; + nvimRuntime = true; + configs = true; + plugins = true; }; }; }