Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
fix @tailwind completion item resolution
Brad Cornes <brad@parall.ax>
4 years ago
1 changed files, 2 additions(+), 1 deletions(-)
M packages/tailwindcss-language-server/src/providers/completionProvider.ts -> packages/tailwindcss-language-server/src/providers/completionProvider.ts
diff --git a/packages/tailwindcss-language-server/src/providers/completionProvider.ts b/packages/tailwindcss-language-server/src/providers/completionProvider.ts
index 53a123832495f72ff618c7d8724ade318dbe70de..dd44439318bece2ee932ce42073b3d0a4db4794c 100644
--- a/packages/tailwindcss-language-server/src/providers/completionProvider.ts
+++ b/packages/tailwindcss-language-server/src/providers/completionProvider.ts
@@ -374,6 +374,7 @@       },
     ].map((item) => ({
       ...item,
       kind: CompletionItemKind.Constant,
+      data: '@tailwind',
       textEdit: {
         newText: item.label,
         range: {
@@ -656,7 +657,7 @@   state: State,
   item: CompletionItem
 ): CompletionItem {
   CompletionItem,
-  CompletionItemKind,
+  CompletionList,
   CompletionParams,
     return item
   }