Skip to content

Commit 00d168a

Browse files
committed
fix: funny boolean inversion
1 parent a8097f1 commit 00d168a

File tree

1 file changed

+1
-1
lines changed
  • helix-term/src/ui/text_decorations

1 file changed

+1
-1
lines changed

helix-term/src/ui/text_decorations/blame.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Decoration for InlineBlame {
3737
) -> Position {
3838
let blame = match &self.lines {
3939
LineBlame::OneLine((line, blame)) => {
40-
if line != &pos.doc_line {
40+
if line == &pos.doc_line {
4141
// do not draw inline blame for lines that have no content in them
4242
blame
4343
} else {

0 commit comments

Comments
 (0)