Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
formatting
Brad Cornes <bradlc41@gmail.com>
3 years ago
1 changed files, 16 additions(+), 18 deletions(-)
M packages/tailwindcss-language-service/src/completionProvider.ts -> packages/tailwindcss-language-service/src/completionProvider.ts
diff --git a/packages/tailwindcss-language-service/src/completionProvider.ts b/packages/tailwindcss-language-service/src/completionProvider.ts
index 203a2b999086b91225a15a7b99f1b63a86fd79c9..a1ac0768ca95e15b27b3ea0b7fe77a3230b45023 100644
--- a/packages/tailwindcss-language-service/src/completionProvider.ts
+++ b/packages/tailwindcss-language-service/src/completionProvider.ts
@@ -240,25 +240,23 @@     isIncomplete: false,
     items: Object.keys(isSubset ? subset : state.classNames.classNames)
       .filter((k) => k !== '__info')
       .filter((className) => isContextItem(state, [...subsetKey, className]))
-      .map(
-        (className, index): CompletionItem => {
-          return {
-            label: className + sep,
-            kind: 9,
-            documentation: null,
-            command: {
-              title: '',
-              command: 'editor.action.triggerSuggest',
-            },
-            sortText: '-' + naturalExpand(index),
-            data: [...subsetKey, className],
-            textEdit: {
-              newText: className + sep,
-              range: replacementRange,
-            },
-          }
+      .map((className, index): CompletionItem => {
+        return {
+          label: className + sep,
+          kind: 9,
+          documentation: null,
+          command: {
+            title: '',
+            command: 'editor.action.triggerSuggest',
+          },
+          sortText: '-' + naturalExpand(index),
+          data: [...subsetKey, className],
+          textEdit: {
+            newText: className + sep,
+            range: replacementRange,
+          },
         }
-      )
+      })
       .concat(
         Object.keys(isSubset ? subset : state.classNames.classNames)
           .filter((className) =>