Only allow configurePlugin against main TS Server

Fixes #106346

Looks like the TS Server doesn't support this in partial mode at the moment
This commit is contained in:
Matt Bierner 2020-09-09 09:13:25 -07:00
parent c1e9502223
commit 2a954244f0

View file

@ -318,7 +318,6 @@ class RequestRouter {
'open',
'updateOpen',
'configure',
'configurePlugin',
]);
constructor(
@ -490,7 +489,8 @@ export class SyntaxRoutingTsServer extends Disposable implements ITypeScriptServ
private static readonly semanticCommands = new Set<keyof TypeScriptRequests>([
'geterr',
'geterrForProject',
'projectInfo'
'projectInfo',
'configurePlugin',
]);
/**