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

@ -29,7 +29,8 @@ in {
enable = mkEnableOption "Rust LSP support (rust-analyzer with extra tools)" // {default = config.vim.languages.enableLSP;};
package = mkOption {
description = "rust-analyzer package";
description = "rust-analyzer 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 = pkgs.rust-analyzer;
};