mirror of
https://github.com/microsoft/pyright.git
synced 2024-11-13 22:04:10 +03:00
Fixed bug Jake found during code review — was using the wrong notification string.
This commit is contained in:
parent
c89b6a5abc
commit
fba58a897d
@ -26,6 +26,7 @@ import {
|
||||
CancellationToken,
|
||||
ConfigurationParams,
|
||||
ConfigurationRequest,
|
||||
DidChangeConfigurationNotification,
|
||||
HandlerResult,
|
||||
LanguageClient,
|
||||
LanguageClientOptions,
|
||||
@ -109,7 +110,9 @@ export function activate(context: ExtensionContext) {
|
||||
return getPythonPathFromPythonExtension(languageClient.outputChannel, uri, () => {
|
||||
// Posts a "workspace/didChangeConfiguration" message to the service
|
||||
// so it re-queries the settings for all workspaces.
|
||||
languageClient.sendRequest('workspace/executeCommand', {});
|
||||
this.languageClient!.sendNotification(DidChangeConfigurationNotification.type, {
|
||||
settings: null,
|
||||
});
|
||||
});
|
||||
}
|
||||
return Promise.resolve(undefined);
|
||||
|
Loading…
Reference in New Issue
Block a user