doc: update description of all lsp.package

This commit is contained in:
Ching Pei Yang 2023-09-23 00:28:39 +02:00
commit 0843e95efa
11 changed files with 22 additions and 11 deletions

View file

@ -42,7 +42,8 @@ in {
default = defaultServer;
};
package = mkOption {
description = "Dart LSP server package";
description = "Dart LSP server package, or the command to run as a list of strings";
example = ''[lib.getExe pkgs.jdt-language-server "-data" "~/.cache/jdtls/workspace"]'';
type = with types; either package (listOf str);
default = servers.${cfg.lsp.server}.package;
};