Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
don't send diagnostics if intellisense is disabled (#133)
Brad Cornes <bradlc41@gmail.com>
4 years ago
1 changed files, 1 additions(+), 0 deletions(-)
M src/lsp/server.ts -> src/lsp/server.ts
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)