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

@ -91,7 +91,8 @@ in {
};
package = mkOption {
description = "SQL LSP server package";
description = "SQL 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;
};