Skip to content

Kotlin lexer counts enclosing backtick as an error syntax #565

@notdryft

Description

@notdryft

Backticked methods as such:

http("My Request").get("myUrl").check(status().`is`(200))

Renders as:

Screenshot_20211022_181501

I found that in the following line of code there is an opening backtick but not a closing one: https://github.com/alecthomas/chroma/blob/master/lexers/k/kotlin.go#L21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions