Skip to content

Commit 2c38efb

Browse files
committed
Fix lazy language server creation
We were booting the LSP no matter what which broke detection when CSS-files were created
1 parent 5f2bc92 commit 2c38efb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vscode-tailwindcss/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ export async function activate(context: ExtensionContext) {
573573
return
574574
}
575575

576-
if (!anyFolderNeedsLanguageServer(Workspace.workspaceFolders ?? [])) {
576+
if (!await anyFolderNeedsLanguageServer(Workspace.workspaceFolders ?? [])) {
577577
return
578578
}
579579

0 commit comments

Comments
 (0)