File tree Expand file tree Collapse file tree
extensions/typescript-language-features/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import * as vscode from 'vscode';
88import { DiagnosticKind } from './features/diagnostics' ;
99import FileConfigurationManager from './features/fileConfigurationManager' ;
1010import { CachedResponse } from './tsServer/cachedResponse' ;
11- import { ClientCapability } from './typescriptService' ;
1211import TypeScriptServiceClient from './typescriptServiceClient' ;
1312import { CommandManager } from './utils/commandManager' ;
1413import { Disposable } from './utils/dispose' ;
@@ -50,12 +49,7 @@ export default class LanguageProvider extends Disposable {
5049 }
5150 }
5251
53- if ( this . client . capabilities . has ( ClientCapability . EnhancedSyntax ) ) {
54- return { semantic, syntax } ;
55- }
56-
57- // If we don't have a
58- return { semantic, syntax : semantic } ;
52+ return { semantic, syntax } ;
5953 }
6054
6155 private async registerProviders ( ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments