plugins/lsp: Use the auto-generated lsp plugin list

This commit is contained in:
Quentin Boyer 2024-10-05 15:55:49 +02:00
parent c79bfb75da
commit 8e8d9afe8e
11 changed files with 172 additions and 679 deletions

View file

@ -58,7 +58,8 @@ in
cmd = mkOption {
type = with types; nullOr (listOf str);
default = if (cfg.package or null) != null then cmd cfg else null;
default =
if (cfg.package or null) != null then if builtins.isFunction cmd then cmd cfg else cmd else null;
description = ''
A list where each entry corresponds to the blankspace delimited part of the command that
launches the server.