Skip to content

Commit 8689a36

Browse files
fix
1 parent bd19051 commit 8689a36

File tree

1 file changed

+2
-1
lines changed
  • crates/pgt_completions/src/context

1 file changed

+2
-1
lines changed

crates/pgt_completions/src/context/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,8 @@ impl<'a> CompletionContext<'a> {
560560
current = current.parent().unwrap();
561561
}
562562

563-
node.prev_sibling()
563+
current
564+
.prev_sibling()
564565
.is_some_and(|sib| kinds.contains(&sib.kind()))
565566
}
566567

0 commit comments

Comments
 (0)