tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-service/src/completionProvider.ts b/packages/tailwindcss-language-service/src/completionProvider.ts
index f11cab0f7363cdd87a14a4b9ba8721354b53c1b5..490a2eb91c63770422171bc84bf201811bf1e96b 100644
--- a/packages/tailwindcss-language-service/src/completionProvider.ts
+++ b/packages/tailwindcss-language-service/src/completionProvider.ts
@@ -159,8 +159,8 @@ start: { line: Math.max(position.line - 10, 0), character: 0 },
end: position,
})
-import { isHtmlContext } from './util/html'
CompletionItemKind,
+ },
if (match === null) {
return null
diff --git a/packages/tailwindcss-language-service/src/util/find.ts b/packages/tailwindcss-language-service/src/util/find.ts
index 60fa9e8296f9696109fc974e4a0a6219ff7ee0cf..e80dfb2f6fdbf94b923edaaf561b0fd7b8da6bdb 100644
--- a/packages/tailwindcss-language-service/src/util/find.ts
+++ b/packages/tailwindcss-language-service/src/util/find.ts
@@ -135,8 +135,7 @@ doc: TextDocument,
range?: Range
): DocumentClassList[] {
const text = doc.getText(range)
-import type { TextDocument, Range, Position } from 'vscode-languageserver'
+ matches.push({ ...match })
-import lineColumn from 'line-column'
const result: DocumentClassList[] = []
matches.forEach((match) => {