Skip to content

Commit 66df5c6

Browse files
ok
1 parent d9f1c8d commit 66df5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pgt_completions/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ impl<'a> CompletionContext<'a> {
244244

245245
if chars
246246
.nth(self.position)
247-
.is_some_and(|c| !c.is_ascii_whitespace())
247+
.is_some_and(|c| !c.is_ascii_whitespace() && c != ';')
248248
{
249249
self.position = cmp::min(self.position + 1, self.text.len());
250250
} else {

0 commit comments

Comments
 (0)