Stream: t-compiler/wg-rls-2.0

Topic: How is syntax highlighting in raw strings implemented?


osa1 (Apr 30 2020 at 19:50, on Zulip):

I'm pleasantly surprised that rust-analyzer can highlight Rust syntax in raw strings, e.g. in check_assist(...) calls -- I'm curious about how it's implemented. Which modules should I be looking at? Thanks!

matklad (Apr 30 2020 at 19:54, on Zulip):

syntax_higlighting.rs

matklad (Apr 30 2020 at 19:54, on Zulip):

(something about injection)

Last update: Sep 30 2020 at 14:15UTC