project: Fix semantic tokens coloring deleted diff hunks (#51386)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth authored and GitHub committed 2026-03-12 14:26:16 +01:00
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,
})