File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/language-server/lib/features Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ export function register(
1212 documents : ReturnType < typeof import ( './textDocuments' ) [ 'register' ] > ,
1313 configurations : ReturnType < typeof import ( './configurations' ) [ 'register' ] >
1414) {
15+ configurations . onDidChange ( ( ) => requestRefresh ( false ) ) ;
16+
1517 // Diagnostics support
1618 let refreshReq = 0 ;
1719 let updateDiagnosticsBatchReq = 0 ;
@@ -687,7 +689,6 @@ export function register(
687689 documents . onDidClose ( ( { document } ) => {
688690 server . connection . sendDiagnostics ( { uri : document . uri , diagnostics : [ ] } ) ;
689691 } ) ;
690- configurations . onDidChange ( ( ) => requestRefresh ( false ) ) ;
691692
692693 refreshHandlers . push ( async clearDiagnostics => {
693694 if ( clearDiagnostics ) {
You can’t perform that action at this time.
0 commit comments