rouge
rouge copied to clipboard
JavaScript private fields are being formatted as error
Name of the lexer JavaScript
Code sample
export class DataPoint {
#time = $.source($.proxy(new Date()));
get time() {
return $.get(this.#time);
}
}
Those fields should ideally be part of the identifier
Any word on this? We use rouge via GitLab and TypeScript files are a mess of random meaningless highlights that distract from the actual code diff
@sphinxc0re @wedgebert I believe this https://github.com/rouge-ruby/rouge/pull/2076 will address the issue. I will have to push a new release.
That's awesome, thanks!