File tree 1 file changed +5
-9
lines changed
Extension/src/LanguageServer
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -287,15 +287,11 @@ export function updateLanguageConfigurations(): void {
287
287
* workspace events
288
288
*/
289
289
async function onDidChangeSettings ( event : vscode . ConfigurationChangeEvent ) : Promise < void > {
290
- const client : Client = clients . getDefaultClient ( ) ;
291
- if ( client instanceof DefaultClient ) {
292
- const defaultClient : DefaultClient = client as DefaultClient ;
293
- clients . forEach ( client => {
294
- if ( client !== defaultClient ) {
295
- void client . onDidChangeSettings ( event ) . catch ( logAndReturn . undefined ) ;
296
- }
297
- } ) ;
298
- }
290
+ clients . forEach ( client => {
291
+ if ( client instanceof DefaultClient ) {
292
+ void client . onDidChangeSettings ( event ) . catch ( logAndReturn . undefined ) ;
293
+ }
294
+ } ) ;
299
295
}
300
296
301
297
function onDidChangeTextDocument ( event : vscode . TextDocumentChangeEvent ) : void {
You can’t perform that action at this time.
0 commit comments