Skip to content

Commit

Permalink
Rename options
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Apr 27, 2021
1 parent 2dc4089 commit a681541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ from the Language Server (in notebook).
If the kernel is too slow to respond promptly only the Language Server suggestions will be shown (default threshold: 0.6s).
You can configure the completer to not attempt to fetch the kernel completions if the kernel is busy (skipping the 0.6s timeout).

You can deactivate the kernel suggestions by adding `"kenel"` to the `disableCompletionsFrom` in the `completion` section
of _Advanced Settings_. Alternatively if you _only_ want kernel completions you can add `"languageServer"` to the same
You can deactivate the kernel suggestions by adding `"Kernel"` to the `disableCompletionsFrom` in the `completion` section
of _Advanced Settings_. Alternatively if you _only_ want kernel completions you can add `"LSP"` to the same
setting; Or add both if you like to code in hardcore mode and get no completions, or if another provider has been added.

### Rename
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ export class LSPConnector
protected get use_lsp_completions(): boolean {
return (
this.options.settings.composite.disableCompletionsFrom.indexOf(
'languageServer'
'LSP'
) == -1
);
}

protected get use_kernel_completions(): boolean {
return (
this.options.settings.composite.disableCompletionsFrom.indexOf(
'kernel'
'Kernel'
) == -1
);
}
Expand Down

0 comments on commit a681541

Please sign in to comment.