mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Basic DocumentHighlightKind support for assignments
This commit is contained in:
parent
19eb7fa1db
commit
d993f329a0
5 changed files with 107 additions and 17 deletions
|
@ -144,6 +144,7 @@ impl BinOp {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl ast::BinExpr {
|
||||
pub fn op_details(&self) -> Option<(SyntaxToken, BinOp)> {
|
||||
self.syntax().children_with_tokens().filter_map(|it| it.into_token()).find_map(|c| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue