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:
parent
c1e9502223
commit
2a954244f0
|
@ -318,7 +318,6 @@ class RequestRouter {
|
||||||
'open',
|
'open',
|
||||||
'updateOpen',
|
'updateOpen',
|
||||||
'configure',
|
'configure',
|
||||||
'configurePlugin',
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
@ -490,7 +489,8 @@ export class SyntaxRoutingTsServer extends Disposable implements ITypeScriptServ
|
||||||
private static readonly semanticCommands = new Set<keyof TypeScriptRequests>([
|
private static readonly semanticCommands = new Set<keyof TypeScriptRequests>([
|
||||||
'geterr',
|
'geterr',
|
||||||
'geterrForProject',
|
'geterrForProject',
|
||||||
'projectInfo'
|
'projectInfo',
|
||||||
|
'configurePlugin',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue