https://git.jolheiser.com/tailwind-ctp-intellisense.git
1 2 3 4 5 6 7 8 9 10 11 12 13
diff --git a/src/lsp/util/find.ts b/src/lsp/util/find.ts index b642534d012dc3816516f0284de71b1ecbf31954..db5609e3f06571bde42d9a555268d95f6318fc47 100644 --- a/src/lsp/util/find.ts +++ b/src/lsp/util/find.ts @@ -133,7 +133,7 @@ const matches = findAll(/(?:\b|:)class(?:Name)?=['"`{]/g, text) const result: DocumentClassList[] = [] matches.forEach((match) => { - const subtext = text.substr(match.index + match[0].length - 1, 200) + const subtext = text.substr(match.index + match[0].length - 1) let lexer = match[0][0] === ':'