Stream: t-compiler/wg-rls-2.0

Topic: Attribute Syntax Highlighting

George Fraser (May 13 2020 at 04:03, on Zulip):

Rust-analyzer has recently merged some PRs intended to make semantic syntax highlighting match the builtin TextMate coloring better, so that there's less change when rust-analyzer activates. We're now discussing adding syntax highlighting to attributes---if you have opinions about this, please weigh in:

Kirill Bulatov (May 13 2020 at 07:23, on Zulip):

I just wanted to thank you for taking your time and creating those highlighting issues and PRs to fix the default theme highlighting.
My eloquence was not enough back in the time to convince anybody to take care of it :slight_smile:

matklad (May 13 2020 at 12:27, on Zulip):

Yeah, attributes are complicated, because at some point we've just accepted that stuffing arbitrary token tree into an attribute is OK, and now we can't easily highlight stuff as expressions, because it isn't

Last update: Sep 30 2020 at 15:30UTC