rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.3k stars 732 forks source link

`import static` is incorrectly parsed in Java #1956

Open sbrannen opened 1 year ago

sbrannen commented 1 year ago

Name of the lexer

Java

Code sample

import static org.junit.jupiter.api.Assertions.assertEquals;

import, static, org, and junit.jupiter.api.Assertions.assertEquals are all highlighted differently.

import static statements should be treated the same as normal import statements.

Additional context