We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6160a commit 5f3e6ceCopy full SHA for 5f3e6ce
src/lsp/server.ts
@@ -181,13 +181,15 @@ connection.onInitialized &&
181
)
182
}
183
184
- connection.sendNotification('tailwindcss/configUpdated', [
185
- {
186
- configPath: state.configPath,
187
- config: state.config,
188
- plugins: state.plugins,
189
- },
190
- ])
+ if (state.enabled) {
+ connection.sendNotification('tailwindcss/configUpdated', [
+ {
+ configPath: state.configPath,
+ config: state.config,
+ plugins: state.plugins,
+ },
191
+ ])
192
+ }
193
194
onMessage(connection, 'configWithLocations', async () => {
195
return getConfigWithLocations(state.configPath)
0 commit comments