Skip to content

Commit

Permalink
[vscode] Restrict diagnostics to Fusion files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik committed Mar 30, 2024
1 parent 8e786b1 commit 510f925
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editors/vscode/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ class VsCodeDiagnostics extends VsCodeHost

check(document: vscode.TextDocument)
{
if (document.languageId != "fusion")
return;
this.#queue.set(document.uri.toString(), document);
if (this.#timeoutId !== null)
clearTimeout(this.#timeoutId);
Expand Down

0 comments on commit 510f925

Please sign in to comment.