From c4b3d48498f7f806b6674e220cf5b940bf065634 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 19 May 2024 00:06:41 +0200 Subject: [PATCH] remove old comment --- packages/tidal/tidal.mjs | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/tidal/tidal.mjs b/packages/tidal/tidal.mjs index f6fb29a1..576d7814 100644 --- a/packages/tidal/tidal.mjs +++ b/packages/tidal/tidal.mjs @@ -67,9 +67,6 @@ export function tidal(code, offset = 0) { // parses strings as mini notation and passes location const str = node.text.slice(1, -1); const col = node.startIndex + offset; - // problem: node.startIndex is wrong because hs2js parser removes newlines - // for some reason, the parser doesn't like newlines - // this means highlighting only works in the first line for now return m(str, col); }, });