mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Added early return for default server
This commit is contained in:
@ -43,6 +43,7 @@ export function activate(_context: ExtensionContext) {
|
||||
defaultClient = new LanguageClient('multi-lsp', 'Multi-LSP', serverOptions, clientOptions);
|
||||
defaultClient.registerFeatures(ProposedProtocol(defaultClient));
|
||||
defaultClient.start();
|
||||
return;
|
||||
}
|
||||
let folder = Workspace.getWorkspaceFolder(uri);
|
||||
// Files outside a folder can't be handled. This might depend on the language
|
||||
|
||||
Reference in New Issue
Block a user