Created
July 7, 2017 19:16
-
-
Save Xanewok/290a46ee20b933f5daf4cd2f7acac291 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/extension.ts b/src/extension.ts | |
index c4a6301..d7920f1 100644 | |
--- a/src/extension.ts | |
+++ b/src/extension.ts | |
@@ -112,11 +112,10 @@ export function activate(context: ExtensionContext) { | |
// Create the language client and start the client. | |
let lc = new LanguageClient('Rust Language Server', serverOptions, clientOptions); | |
+ lcOutputChannel = lc.outputChannel; | |
let runningDiagnostics = new Counter(); | |
lc.onReady().then(() => { | |
- lcOutputChannel = lc.outputChannel; | |
- | |
lc.onNotification(new NotificationType('rustDocument/diagnosticsBegin'), function(f) { | |
runningDiagnostics.increment(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment