Skip to content

Commit 7c63600

Browse files
committed
PR review fixes
1 parent 00501f1 commit 7c63600

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

book/src/generated/typable-cmd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
| `:show-directory`, `:pwd` | Show the current working directory. |
4545
| `:encoding` | Set encoding. Based on `https://encoding.spec.whatwg.org`. |
4646
| `:reload` | Discard changes and reload from the source file. |
47-
| `:lsp-reload` | Reload the Language Server that is in use by the current doc |
47+
| `:lsp-restart` | Restarts the Language Server that is in use by the current doc |
4848
| `:tree-sitter-scopes` | Display tree sitter scopes, primarily for theming and development. |
4949
| `:debug-start`, `:dbg` | Start a debug session from a given template with given parameters. |
5050
| `: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-lsp/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ impl Registry {
379379
struct NewClientResult(Arc<Client>, UnboundedReceiver<(usize, Call)>);
380380

381381
/// start_client takes both a LanguageConfiguration and a LanguageServerConfiguration to ensure that
382-
/// it is only called when it makes sense, specifically, start_client shouldn't care whether.
382+
/// it is only called when it makes sense.
383383
fn start_client(
384384
id: usize,
385385
config: &LanguageConfiguration,

helix-term/src/commands/typed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1863,9 +1863,9 @@ pub const TYPABLE_COMMAND_LIST: &[TypableCommand] = &[
18631863
completer: None,
18641864
},
18651865
TypableCommand {
1866-
name: "lsp-reload",
1866+
name: "lsp-restart",
18671867
aliases: &[],
1868-
doc: "Reload the Language Server that is in use by the current doc",
1868+
doc: "Restarts the Language Server that is in use by the current doc",
18691869
fun: lsp_restart,
18701870
completer: None,
18711871
},

0 commit comments

Comments
 (0)