Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
Protect against undefined separator (#427)
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 1 additions(+), 1 deletions(-)
M packages/tailwindcss-language-server/src/server.ts -> packages/tailwindcss-language-server/src/server.ts
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index 26d9f5f274f4675520e727c9cab13cbbe7d0113e..d286c211af1ecfd37d2f23816fbf030a6d8ad093 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -391,7 +391,7 @@       })
       capabilities.add(CompletionRequest.type, {
         documentSelector: null,
         resolveProvider: true,
-        triggerCharacters: [...TRIGGER_CHARACTERS, state.separator],
+        triggerCharacters: [...TRIGGER_CHARACTERS, state.separator].filter(Boolean),
       })
       if (watchFiles.length > 0) {
         capabilities.add(DidChangeWatchedFilesNotification.type, {