on master help sign in
Fix docgen and lsp-stop documentation
7d20740Philipp Mildenberger
book/src/generated/typable-cmd.md+1−1
@@ -51,7 +51,7 @@
51| `:update`, `:u` | Write changes only if the file has been modified. |
51| `:update`, `:u` | Write changes only if the file has been modified. |
52| `:lsp-workspace-command` | Open workspace command picker |
52| `:lsp-workspace-command` | Open workspace command picker |
53| `:lsp-restart` | Restarts the language servers used by the current doc |
53| `: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 |
55| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
55| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
56| `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
56| `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
57| `:debug-remote`, `:dbg-tcp` | Connect to a debug adapter by TCP address and start a debugging session from a given template with given parameters. |
57| `: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] = &[
2635 TypableCommand {
2635 TypableCommand {
2636 name: "lsp-stop",
2636 name: "lsp-stop",
2637 aliases: &[],
2637 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",
2639 fun: lsp_stop,
2639 fun: lsp_stop,
2640 signature: CommandSignature::none(),
2640 signature: CommandSignature::none(),
2641 },
2641 },
xtask/src/docgen.rs+2−2
@@ -97,8 +97,8 @@ pub fn lang_features() -> Result<String, DynError> {
97 }
97 }
98 row.push(
98 row.push(
99 lc.language_servers
99 lc.language_servers
100− .iter()
100+ .keys()
101− .filter_map(|ls| config.language_server.get(ls.name()))
101+ .filter_map(|ls| config.language_server.get(ls))
102 .map(|s| md_mono(&s.command.clone()))
102 .map(|s| md_mono(&s.command.clone()))
103 .collect::<Vec<_>>()
103 .collect::<Vec<_>>()
104 .join(", "),
104 .join(", "),