]> git.lizzy.rs Git - rust.git/commit
Simplify highlighting infra
authorAleksey Kladov <aleksey.kladov@gmail.com>
Thu, 7 Jan 2021 22:39:02 +0000 (01:39 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Fri, 8 Jan 2021 20:47:35 +0000 (23:47 +0300)
commite30c1c3fbf8f70336d985b2b73e5b0f45f3b95f5
treea3cdc2d2f667ab5a122758152eb338a654d387cd
parent981a0d708ec352969f9ca075a3e0e50c6da48197
Simplify highlighting infra

This also fixes the killer whale bug
crates/ide/src/syntax_highlighting.rs
crates/ide/src/syntax_highlighting/format.rs
crates/ide/src/syntax_highlighting/highlights.rs [new file with mode: 0644]
crates/ide/src/syntax_highlighting/html.rs
crates/ide/src/syntax_highlighting/injection.rs
crates/ide/src/syntax_highlighting/injector.rs [new file with mode: 0644]
crates/ide/src/syntax_highlighting/tags.rs
crates/ide/src/syntax_highlighting/test_data/highlight_doctest.html
crates/ide/src/syntax_highlighting/tests.rs
crates/rust-analyzer/src/to_proto.rs
crates/stdx/src/lib.rs