on master help sign in
Fix docgen and lsp-stop documentation
commit7d20740b5b2e115e3075251204ee1ff1901166df authorPhilipp Mildenberger <philipp@mildenberger.me> dateSat 18 Mar 2023, 23:41 (4 years ago) parent60a6af1
3 files changed+4−4
book/src/generated/typable-cmd.md+1−1 helix-term/src/commands/typed.rs+1−1 xtask/src/docgen.rs+2−2
book/src/generated/typable-cmd.md+1−1
@@ -51,7 +51,7 @@
5151| `:update`, `:u` | Write changes only if the file has been modified. |
5252| `:lsp-workspace-command` | Open workspace command picker |
5353| `:lsp-restart` | Restarts the language servers used by the current doc |
54−| `:lsp-stop` | Stops the Language Server that is in use by the current doc |
54+| `:lsp-stop` | Stops the language servers that are used by the current doc |
5555| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
5656| `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
5757| `:debug-remote`, `:dbg-tcp` | Connect to a debug adapter by TCP address and start a debugging session from a given template with given parameters. |
helix-term/src/commands/typed.rs+1−1
@@ -2635,7 +2635,7 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
26352635 TypableCommand {
26362636 name: "lsp-stop",
26372637 aliases: &[],
2638− doc: "Stops the Language Server that is in use by the current doc",
2638+ doc: "Stops the language servers that are used by the current doc",
26392639 fun: lsp_stop,
26402640 signature: CommandSignature::none(),
26412641 },
xtask/src/docgen.rs+2−2
@@ -97,8 +97,8 @@ pub fn lang_features() -> Result<String, DynError> {
9797 }
9898 row.push(
9999 lc.language_servers
100− .iter()
101− .filter_map(|ls| config.language_server.get(ls.name()))
100+ .keys()
101+ .filter_map(|ls| config.language_server.get(ls))
102102 .map(|s| md_mono(&s.command.clone()))
103103 .collect::<Vec<_>>()
104104 .join(", "),