Skip to content

Commit

Permalink
fix(nvim): don't combine plugins unless standalone
Browse files Browse the repository at this point in the history
Its causing errors sadly T-T
  • Loading branch information
jalil-salame committed Jan 18, 2025
1 parent d2babf8 commit 09cc4e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions flake-modules/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand All @@ -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 { };
Expand Down
1 change: 0 additions & 1 deletion nvim/standalone.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 09cc4e6

Please sign in to comment.