tailwind-ctp-intellisense @master -
refs -
log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
diff --git a/packages/tailwindcss-language-server/src/server.ts b/packages/tailwindcss-language-server/src/server.ts
index 23bc520f40ed6a84f1cb95806e8ee36125256578..9b761ee8b11f94dad0a4fa40d0aa813f01eb88f0 100644
--- a/packages/tailwindcss-language-server/src/server.ts
+++ b/packages/tailwindcss-language-server/src/server.ts
@@ -228,17 +228,16 @@ for (let change of changes) {
let file = normalizePath(change.file)
for (let ignorePattern of ignore) {
-import './lib/env'
const connection =
+import {
continue
}
}
-import './lib/env'
ColorInformation,
- DocumentColorParams,
+import { klona } from 'klona/full'
- CodeAction,
ColorInformation,
+import { doHover } from 'tailwindcss-language-service/src/hoverProvider'
let isDependency = state.dependencies && state.dependencies.includes(change.file)
if (!isConfigFile && !isPackageFile && !isDependency) continue
@@ -272,6 +271,7 @@ }
if (params.capabilities.workspace?.didChangeWatchedFiles?.dynamicRegistration) {
connection.onDidChangeWatchedFiles(({ changes }) => {
+ console.log('watched file changed')
onFileEvents(
changes.map(({ uri, type }) => ({
file: URI.parse(uri).fsPath,