fix(nvim): don't combine plugins unless standalone
All checks were successful
/ check (nvimDev) (push) Successful in 5s
/ check (nvimHeadless) (push) Successful in 3s
/ check (nvimNoBundledBins) (push) Successful in 5s
/ check (nvimNoLsp) (push) Successful in 5s
/ check (nvimNoTSGrammars) (push) Successful in 5s
/ check (treefmt) (push) Successful in 2s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 2s
/ report-size (push) Successful in 4s

Its causing errors sadly T-T
This commit is contained in:
Jalil David Salamé Messina 2025-01-18 11:48:50 +01:00
parent d2babf8808
commit 09cc4e6110
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
flake.overlays.nixvim = inputs.nixvim.overlays.default;
perSystem =
{ system, ... }:
{ lib, system, ... }:
let
nixvimLib = inputs.nixvim.lib.${system};
nixvim = inputs.nixvim.legacyPackages.${system};
@ -12,7 +12,10 @@
pkgs = inputs.unstable.legacyPackages.${system};
module = {
imports = [ ../nvim/standalone.nix ];
config = extraConfig;
config = lib.mkMerge [
{ performance.combinePlugins.enable = true; }
extraConfig
];
};
};
moduleDev = nvimModule { };

View file

@ -42,7 +42,6 @@
# Enable local configuration :h 'exrc'
exrc = true; # safe since nvim 0.9
};
performance.combinePlugins.enable = true;
extraPlugins =
let
plugins = pkgs.vimPlugins;