Skip to content

Commit

Permalink
Import stuff fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Matsuuu committed Nov 7, 2023
1 parent 23a3cc8 commit 17dd51e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/server/src/diagnostics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ function handleDiagnostics(uri: string, textDoc: TextDocument) {

const request = createCustomElementsLanguageServiceRequestFromQueryData(queryData);

// TODO: We need to make importdiagnostics disableable since all file format's can't and won't set this.
// Maybe a flag? if file.includes("cels-disable-import-check")
const importDiagnostics = getImportDiagnostics(request);
const nonClosedTagDiagnostics = getMissingCloseTagDiagnostics(0, request);

Expand Down

0 comments on commit 17dd51e

Please sign in to comment.