1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-02 15:11:05 +01:00

plugins/friendly-snippets: fix warning

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-12-01 18:32:05 +01:00 committed by Matt Sturgeon
parent af1ce0d14c
commit ee6ccaae42

View file

@ -27,7 +27,9 @@ lib.nixvim.plugins.mkVimPlugin {
{
when =
config.performance.combinePlugins.enable
&& !(builtins.elem "friendly-snippets" config.performance.combinePlugins.standalonePlugins)
&& !(builtins.elem "friendly-snippets" (
map lib.getName config.performance.combinePlugins.standalonePlugins
))
&& (enabledConsumers != [ ]);
message = ''
When using ${options.performance.combinePlugins.enable}, ${options.plugins.friendly-snippets.enable} and ${enabledConsumersPretty}: