From 60798b1fb560ece7028d765d70df4f69e8f6db71 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 28 Jan 2025 08:23:55 -0600 Subject: [PATCH] performance: enable again Not freezing anymore on profiler and lazy loading seems unaffected. --- modules/nixvim/performance.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/modules/nixvim/performance.nix b/modules/nixvim/performance.nix index e29ad3f0..c24b3b48 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; }; }; }