project: Fix semantic tokens coloring deleted diff hunks (#51386)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
1 parent
8faaa82ad1
commit
b354daefcc
1 file changed
+1
-2
@@ -585,8 +585,7 @@ async fn raw_to_buffer_semantic_tokens(
|
||||
}
|
||||
|
||||
Some(BufferSemanticToken {
|
||||
range: buffer_snapshot.anchor_before(start)
|
||||
..buffer_snapshot.anchor_after(end),
|
||||
range: buffer_snapshot.anchor_range_around(start..end),
|
||||
token_type: token.token_type,
|
||||
token_modifiers: token.token_modifiers,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user