Skip to content

Commit ee6ccaa

Browse files
saygo-pngMattSturgeon
authored andcommitted
plugins/friendly-snippets: fix warning
Signed-off-by: saygo-png <[email protected]>
1 parent af1ce0d commit ee6ccaa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/by-name/friendly-snippets/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ lib.nixvim.plugins.mkVimPlugin {
2727
{
2828
when =
2929
config.performance.combinePlugins.enable
30-
&& !(builtins.elem "friendly-snippets" config.performance.combinePlugins.standalonePlugins)
30+
&& !(builtins.elem "friendly-snippets" (
31+
map lib.getName config.performance.combinePlugins.standalonePlugins
32+
))
3133
&& (enabledConsumers != [ ]);
3234
message = ''
3335
When using ${options.performance.combinePlugins.enable}, ${options.plugins.friendly-snippets.enable} and ${enabledConsumersPretty}:

0 commit comments

Comments
 (0)