Skip to content

Commit

Permalink
fix: skip upstream diagnostics for svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Sep 17, 2024
1 parent 8a457ae commit d03995f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/language-services/src/features/do-diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ export class DoDiagnostics extends LanguageFeature {

private async doUpstreamDiagnostics(document: TextDocument) {
if (
document.languageId === "vue" ||
document.languageId === "astro" ||
document.languageId === "svelte"
document.uri.endsWith(".vue") ||
document.uri.endsWith(".astro") ||
document.uri.endsWith(".svelte")
) {
return [];
}
Expand Down

0 comments on commit d03995f

Please sign in to comment.