]> git.lizzy.rs Git - rust.git/commit
Use more Rustic highlighting specifiers
authorAleksey Kladov <aleksey.kladov@gmail.com>
Sat, 19 Dec 2020 14:10:47 +0000 (17:10 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Sat, 19 Dec 2020 14:10:47 +0000 (17:10 +0300)
commita13947abe62a44c4ffa802be54e041a3d18e7f2b
tree7675fa96ea2df477f30d7e6acb060ed379b86ef1
parentbd270cbc024f56596c315061d10732ebbe16eef9
Use more Rustic highlighting specifiers

*Method* works for OO languages, but in rust we can also have
associated constants & types, so let's move this to a modifier.
crates/ide/src/syntax_highlighting.rs
crates/ide/src/syntax_highlighting/tags.rs
crates/ide/src/syntax_highlighting/test_data/highlight_assoc_functions.html
crates/ide/src/syntax_highlighting/test_data/highlight_doctest.html
crates/ide/src/syntax_highlighting/test_data/highlight_injection.html
crates/ide/src/syntax_highlighting/test_data/highlight_unsafe.html
crates/ide/src/syntax_highlighting/test_data/highlighting.html
crates/rust-analyzer/src/to_proto.rs