makeLanguageClient:let clientOptions:LanguageClientOptions={
documentSelector:[{scheme:'file', language:'ruby'},{scheme:'file', pattern:'**/Gemfile'}],
synchronize:{// Synchronize the setting section 'solargraph' to the server
configurationSection:'solargraph',// Notify the server about changes to relevant files in the workspace
fileEvents: vscode.workspace.createFileSystemWatcher('{**/*.rb,**/*.gemspec,**/Gemfile}')},
middleware: middleware,
initializationOptions:Object.assign({
enablePages:true,
viewsPath: vscode.extensions.getExtension('castwide.solargraph').extensionPath+'/views'}, vscode.workspace.getConfiguration('solargraph'))}let serverOptions:ServerOptions=selectClient();