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+ } :
27let
38 inherit ( lib ) types ;
9+ cfg = config . performance ;
410in
511{
612 options . performance = {
5460 } ;
5561 } ;
5662
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+
5774 config . performance = {
5875 # Set option value with default priority so that values are appended by default
5976 combinePlugins . pathsToLink = [
You can’t perform that action at this time.
0 commit comments