Skip to content

Commit

Permalink
Only allow configurePlugin against main TS Server
Browse files Browse the repository at this point in the history
Fixes #106346

Looks like the TS Server doesn't support this in partial mode at the moment
  • Loading branch information
mjbvz committed Sep 9, 2020
1 parent c1e9502 commit 2a95424
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ class RequestRouter {
'open',
'updateOpen',
'configure',
'configurePlugin',
]);

constructor(
Expand Down Expand Up @@ -490,7 +489,8 @@ export class SyntaxRoutingTsServer extends Disposable implements ITypeScriptServ
private static readonly semanticCommands = new Set<keyof TypeScriptRequests>([
'geterr',
'geterrForProject',
'projectInfo'
'projectInfo',
'configurePlugin',
]);

/**
Expand Down

0 comments on commit 2a95424

Please sign in to comment.