Skip to content

Commit 8a1b9c2

Browse files
so far…
1 parent 899ef56 commit 8a1b9c2

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

crates/pgls_completions/src/providers/keywords.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub static ALL_KEYWORDS: &[SqlKeyword] = &[
220220
SqlKeyword::new("oids"),
221221
SqlKeyword::new("old"),
222222
SqlKeyword::new("on"),
223-
SqlKeyword::new("only"),
223+
SqlKeyword::new("only").require_prefix(),
224224
SqlKeyword::new("option"),
225225
SqlKeyword::new("or").require_prefix(),
226226
SqlKeyword::new("order"),

crates/pgls_completions/src/providers/tables.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,6 @@ mod tests {
411411
);
412412
"#;
413413

414-
let query = format!(
415-
// "select * from auth.users u j{}",
416-
"select * from auth.users as u join client_settings c on u.id = c.client_id wh{}",
417-
QueryWithCursorPosition::cursor_marker()
418-
);
419-
420414
TestCompletionsSuite::new(&pool, Some(setup))
421415
.with_case(
422416
TestCompletionsCase::new()

0 commit comments

Comments
 (0)