Skip to content

Kotlin keyword highlighed in variable name #1608

Closed
@s1monw1

Description

Name of the lexer
Kotlin

Code sample

fun foo(supersedingStuff: List<String>): List<String> {
    return supersedingStuff.map { it } 
}

The super is being highlighted both in the parameters list as well as in the function body referencing the variable. Noticed in private gitlab.com repository. GitLab uses Rouge as per this documentation.

Metadata

Assignees

Labels

bugfix-requestA request for a bugfix to be developed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions