mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
Revert "modules/performance: temporary add plenary to extraPlugins to fix tests"
This reverts commit 5a491f4b2b
.
This commit is contained in:
parent
65d3f2f4ae
commit
7bb135b091
1 changed files with 1 additions and 18 deletions
|
@ -1,12 +1,6 @@
|
||||||
{
|
{ lib, ... }:
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
inherit (lib) types;
|
inherit (lib) types;
|
||||||
cfg = config.performance;
|
|
||||||
|
|
||||||
pathsToLink = [
|
pathsToLink = [
|
||||||
# :h rtp
|
# :h rtp
|
||||||
|
@ -95,17 +89,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# FIXME: The performance options do not correctly propagate lua module dependencies.
|
|
||||||
# We can explicitly specify 'plenary-nvim', as it is a very common dependency.
|
|
||||||
# While this is enough for our test suite to pass, end-users may be affected by other dependencies not covered by our test suite.
|
|
||||||
#
|
|
||||||
# See https://github.com/nix-community/nixvim/pull/3099
|
|
||||||
config.extraPlugins =
|
|
||||||
lib.mkIf (cfg.combinePlugins.enable || (cfg.byteCompileLua.enable && cfg.byteCompileLua.plugins))
|
|
||||||
[
|
|
||||||
pkgs.vimPlugins.plenary-nvim
|
|
||||||
];
|
|
||||||
|
|
||||||
# Set option value with default priority so that values are appended by default
|
# Set option value with default priority so that values are appended by default
|
||||||
config.performance.combinePlugins = { inherit pathsToLink; };
|
config.performance.combinePlugins = { inherit pathsToLink; };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue