Skip to content

Commit dee6434

Browse files
committed
fix(kotlin) fix poly backtracking issue
No explanation for what this `illegal` is trying to accomplish to without that data, just remove it.
1 parent 0c601c3 commit dee6434

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/languages/kotlin.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ export default function(hljs) {
177177
returnBegin: true,
178178
excludeEnd: true,
179179
keywords: KEYWORDS,
180-
illegal: /fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,
181180
relevance: 5,
182181
contains: [
183182
{

0 commit comments

Comments
 (0)