Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
export completionsFromClassList
Brad Cornes <bradlc41@gmail.com>
4 years ago
2 changed files, 6 additions(+), 2 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 490a2eb91c63770422171bc84bf201811bf1e96b..693e45211e7a7bcc2c9ba37eeb1e7566cb6f48ce 100644
--- a/packages/tailwindcss-language-service/src/completionProvider.ts
+++ b/packages/tailwindcss-language-service/src/completionProvider.ts
@@ -32,7 +32,7 @@ } from './util/lexers'
 import { validateApply } from './util/validateApply'
 import { flagEnabled } from './util/flagEnabled'
 
-function completionsFromClassList(
+export function completionsFromClassList(
   state: State,
   classList: string,
   classListRange: Range,
M packages/tailwindcss-language-service/src/index.ts -> packages/tailwindcss-language-service/src/index.ts
diff --git a/packages/tailwindcss-language-service/src/index.ts b/packages/tailwindcss-language-service/src/index.ts
index fb0c85b6ef99d05c2c0a3e1800f288e01eab7d6b..9c888f298eb622544d85570ccb4e3aeb91570a7e 100644
--- a/packages/tailwindcss-language-service/src/index.ts
+++ b/packages/tailwindcss-language-service/src/index.ts
@@ -1,4 +1,8 @@
-export { doComplete, resolveCompletionItem } from './completionProvider'
+export {
+  doComplete,
+  resolveCompletionItem,
+  completionsFromClassList,
+} from './completionProvider'
 export { doValidate } from './diagnostics/diagnosticsProvider'
 export { doHover } from './hoverProvider'
 export { doCodeActions } from './codeActions/codeActionProvider'