diff --git a/lexers/k/kotlin.go b/lexers/k/kotlin.go index cec06acdd..3e90af7d3 100644 --- a/lexers/k/kotlin.go +++ b/lexers/k/kotlin.go @@ -50,10 +50,6 @@ var Kotlin = internal.Register(MustNewLexer( {"(@?[" + kotlinIdentifier + " ]*`)", NameProperty, Pop(1)}, }, "function": { - - {`[~!%^&*()+=|\[\]:;,.<>\/?-]`, Punctuation, nil}, - {`(abstract|actual|annotation|as|as\?|break|by|catch|class|companion|const|constructor|continue|crossinline|data|delegate|do|dynamic|else|enum|expect|external|false|field|file|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|it|lateinit|noinline|null|object|open|operator|out|override|package|param|private|property|protected|public|receiver|reified|return|sealed|set|setparam|super|suspend|tailrec|this|throw|true|try|typealias|typeof|val|var|vararg|when|where|while)\b`, Keyword, nil}, - {"(@?[" + kotlinIdentifier + " ]*`)", NameFunction, Pop(1)}, }, },