Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin functions and identifiers with backticks are not highlighted correctly #1921

Open
uberto opened this issue Jan 24, 2023 · 2 comments
Open
Assignees
Labels
bugfix-request A request for a bugfix to be developed.

Comments

@uberto
Copy link

uberto commented Jan 24, 2023

This is a regression for #906 and #996

Name of the lexer
Kotlin lexter

Code sample
A sample of the code that produces the bug.

@Test
fun `adding one and two gives three`(){
  assertEquals(3, 1+2)
}

It also helps if you can provide a link to a code sample on rouge.jneen.net.

Additional context

It seems to be related with removing the regex

name_backtick = %r'#{name}|`#{name}`'
@uberto uberto added the bugfix-request A request for a bugfix to be developed. label Jan 24, 2023
@tancnle tancnle self-assigned this Apr 30, 2023
@tancnle
Copy link
Collaborator

tancnle commented May 1, 2023

Relates to #1326

@sbrannen
Copy link

sbrannen commented May 7, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix-request A request for a bugfix to be developed.
Projects
None yet
Development

No branches or pull requests

3 participants