Skip to content

Commit

Permalink
Diagnosing documents when saving again
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Aug 14, 2024
1 parent ab9a461 commit 7af1f25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/lib/lsp/process/document-processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ export class DocumentProcessor extends BaseService implements Partial<IService>
const doc = this.extension.documents.get(e.document.uri, e.document, e.document.languageId);
if (doc === undefined) return;

return this.process(doc);
this.process(doc);
return this.diagnose(doc)
}

get(uri: string): TextDocument;
Expand Down

0 comments on commit 7af1f25

Please sign in to comment.