Skip to content

Commit

Permalink
fix(kotlin) fix poly backtracking issue
Browse files Browse the repository at this point in the history
No explanation for what this `illegal` is trying to accomplish to
without that data, just remove it.
  • Loading branch information
joshgoebel committed Dec 3, 2020
1 parent 0c601c3 commit dee6434
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/languages/kotlin.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ export default function(hljs) {
returnBegin: true,
excludeEnd: true,
keywords: KEYWORDS,
illegal: /fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,
relevance: 5,
contains: [
{
Expand Down

0 comments on commit dee6434

Please sign in to comment.