Skip to content

Commit 7bb135b

Browse files
committed
Revert "modules/performance: temporary add plenary to extraPlugins to fix tests"
This reverts commit 5a491f4.
1 parent 65d3f2f commit 7bb135b

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

modules/performance.nix

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
{
2-
lib,
3-
pkgs,
4-
config,
5-
...
6-
}:
1+
{ lib, ... }:
72
let
83
inherit (lib) types;
9-
cfg = config.performance;
104

115
pathsToLink = [
126
# :h rtp
@@ -95,17 +89,6 @@ in
9589
};
9690
};
9791

98-
# FIXME: The performance options do not correctly propagate lua module dependencies.
99-
# We can explicitly specify 'plenary-nvim', as it is a very common dependency.
100-
# While this is enough for our test suite to pass, end-users may be affected by other dependencies not covered by our test suite.
101-
#
102-
# See https://github.com/nix-community/nixvim/pull/3099
103-
config.extraPlugins =
104-
lib.mkIf (cfg.combinePlugins.enable || (cfg.byteCompileLua.enable && cfg.byteCompileLua.plugins))
105-
[
106-
pkgs.vimPlugins.plenary-nvim
107-
];
108-
10992
# Set option value with default priority so that values are appended by default
11093
config.performance.combinePlugins = { inherit pathsToLink; };
11194
}

0 commit comments

Comments
 (0)