You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, when using Groovy and quoted method names, it looks like two or more words at the beginning, followed by parenthesis breaks the syntax highlighting:
def "Those () or () () and neither (x) breaks a quoted method name"() {
expect: true
}
def "Wordand () however breaks a quoted method name"() { expect: true}
The text was updated successfully, but these errors were encountered:
I think it's this piece of code which detects a method declaration. If it is, then we have this ([^=]+\s+)?\w+\s*\( regex fragment where \w+ is the piece that's supposed to be matching the method name. I am pretty sure it should be one of [a-zA-Z_]\w* or a quoted string matcher. I just submitted a similar change for Pygments pygments/pygments#1765 and would be happy to make one here too, but I am not sure if the project is still maintained?
Hi there, when using Groovy and quoted method names, it looks like two or more words at the beginning, followed by parenthesis breaks the syntax highlighting:
The text was updated successfully, but these errors were encountered: