File tree 2 files changed +5
-5
lines changed
packages/tailwindcss-language-server/src
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1181,11 +1181,9 @@ export async function createProjectService(
1181
1181
if ( state . enabled ) {
1182
1182
refreshDiagnostics ( )
1183
1183
}
1184
- if ( settings . editor ?. colorDecorators ) {
1185
- updateCapabilities ( )
1186
- } else {
1187
- connection . sendNotification ( '@/tailwindCSS/clearColors' )
1188
- }
1184
+
1185
+ updateCapabilities ( )
1186
+ connection . sendNotification ( '@/tailwindCSS/clearColors' )
1189
1187
} ,
1190
1188
onFileEvents,
1191
1189
async onHover ( params : TextDocumentPositionParams ) : Promise < Hover > {
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import {
33
33
DocumentLinkRequest ,
34
34
TextDocumentSyncKind ,
35
35
CodeLensRequest ,
36
+ DidChangeConfigurationNotification ,
36
37
} from 'vscode-languageserver/node'
37
38
import { URI } from 'vscode-uri'
38
39
import normalizePath from 'normalize-path'
@@ -815,6 +816,7 @@ export class TW {
815
816
capabilities . add ( CodeActionRequest . type , { documentSelector : null } )
816
817
capabilities . add ( CodeLensRequest . type , { documentSelector : null } )
817
818
capabilities . add ( DocumentLinkRequest . type , { documentSelector : null } )
819
+ capabilities . add ( DidChangeConfigurationNotification . type , undefined )
818
820
819
821
capabilities . add ( CompletionRequest . type , {
820
822
documentSelector : null ,
You can’t perform that action at this time.
0 commit comments