Skip to content

Commit ef3c51b

Browse files
Supress diagnostics on @plugin and @source
1 parent 82f152d commit ef3c51b

File tree

1 file changed

+1
-1
lines changed
  • packages/tailwindcss-language-server/src/language

1 file changed

+1
-1
lines changed

packages/tailwindcss-language-server/src/language/cssServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ async function validateTextDocument(textDocument: TextDocument): Promise<void> {
381381
.filter((diagnostic) => {
382382
if (
383383
diagnostic.code === 'unknownAtRules' &&
384-
/Unknown at rule @(tailwind|apply|config|theme)/.test(diagnostic.message)
384+
/Unknown at rule @(tailwind|apply|config|theme|plugin|source)/.test(diagnostic.message)
385385
) {
386386
return false
387387
}

0 commit comments

Comments
 (0)