File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
- { lib , ... } :
1
+ {
2
+ lib ,
3
+ pkgs ,
4
+ config ,
5
+ ...
6
+ } :
2
7
let
3
8
inherit ( lib ) types ;
9
+ cfg = config . performance ;
4
10
in
5
11
{
6
12
options . performance = {
54
60
} ;
55
61
} ;
56
62
63
+ # FIXME: The performance options do not correctly propagate lua module dependencies.
64
+ # We can explicitly specify 'plenary-nvim', as it is a very common dependency.
65
+ # While this is enough for our test suite to pass, end-users may be affected by other dependencies not covered by our test suite.
66
+ #
67
+ # See https://github.com/nix-community/nixvim/pull/3099
68
+ config . extraPlugins =
69
+ lib . mkIf ( cfg . combinePlugins . enable || ( cfg . byteCompileLua . enable && cfg . byteCompileLua . plugins ) )
70
+ [
71
+ pkgs . vimPlugins . plenary-nvim
72
+ ] ;
73
+
57
74
config . performance = {
58
75
# Set option value with default priority so that values are appended by default
59
76
combinePlugins . pathsToLink = [
You can’t perform that action at this time.
0 commit comments