Skip to content

Commit

Permalink
Removing comment
Browse files Browse the repository at this point in the history
  - Added it to ticket on GitHub
  • Loading branch information
AnHeuermann committed May 29, 2024
1 parent facc60b commit 676fda1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/src/project/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ export class ModelicaDocument implements TextDocument {
const uri = pathToUri(documentPath);
const document = TextDocument.create(uri, 'modelica', 0, content);

// On caching: see issue https://github.com/tree-sitter/tree-sitter/issues/824
// TL;DR: it's faster to re-parse the content than it is to deserialize the cached tree.
const tree = project.parser.parse(content);

return new ModelicaDocument(project, library, document, tree);
Expand Down

0 comments on commit 676fda1

Please sign in to comment.