tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/src/lsp/server.ts b/src/lsp/server.ts
index cc85ae4662a1e6cbc4a8af47df121dd7acdb8f31..4b149f82663e120586d51e1026c6f9f8eaf552f7 100644
--- a/src/lsp/server.ts
+++ b/src/lsp/server.ts
@@ -64,6 +64,7 @@ documents.onDidClose((event) => {
documentSettings.delete(event.document.uri)
})
documents.onDidChangeContent((change) => {
+ if (!state.enabled) return
provideDiagnostics(state, change.document)
})
documents.listen(connection)