File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 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 {
287287 * workspace events
288288 */
289289async 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+ } ) ;
299295}
300296
301297function onDidChangeTextDocument ( event : vscode . TextDocumentChangeEvent ) : void {
You can’t perform that action at this time.
0 commit comments