From 676fda1e0a1e0fc9734e054a537e4e84fbf160b9 Mon Sep 17 00:00:00 2001 From: AnHeuermann <38031952+AnHeuermann@users.noreply.github.com> Date: Wed, 29 May 2024 10:40:09 +0200 Subject: [PATCH] Removing comment - Added it to ticket on GitHub --- server/src/project/document.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/project/document.ts b/server/src/project/document.ts index bbb8a94..ac17f42 100644 --- a/server/src/project/document.ts +++ b/server/src/project/document.ts @@ -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);