77} from 'vscode-languageserver/lib/common/api'
88import pDefer , { TestInfrastructure , waitClientNotification , waitClientRequest } from './tools'
99import { GetTextDocumentParams , getTextDocumentRequestType , GetTextDocumentResult , SaveTextDocumentParams , saveTextDocumentRequestType } from '../customRequests'
10- import { createLanguageClientManager , LanguageClientId , LanguageClientManager } from '..'
10+ import { createLanguageClientManager , LanguageClientId , LanguageClientManager , getLanguageClientOptions } from '..'
1111
1212async function initializeLanguageClientAndGetConnection (
1313 languageClientId : LanguageClientId ,
@@ -17,7 +17,10 @@ async function initializeLanguageClientAndGetConnection (
1717) : Promise < [ LanguageClientManager , _Connection < _ , _ , _ , _ , _ , _ , _ > ] > {
1818 const infrastructure = new TestInfrastructure ( automaticTextDocumentUpdate , useMutualizedProxy )
1919
20- const languageClient = createLanguageClientManager ( languageClientId , infrastructure )
20+ const languageClient = createLanguageClientManager ( languageClientId , infrastructure , {
21+ ...getLanguageClientOptions ( languageClientId ) ,
22+ createAdditionalFeatures : undefined
23+ } )
2124 const startPromise = languageClient . start ( )
2225
2326 const connection = await infrastructure . getConnection ( )
0 commit comments