Skip to content

Commit c7ff064

Browse files
unnecessary
1 parent b1e5ebd commit c7ff064

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

crates/pgt_completions/src/relevance/filtering.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,6 @@ impl CompletionFilter<'_> {
101101
&& !ctx.matches_ancestor_history(&["insert_values", "field"])
102102
&& !ctx.node_under_cursor_is_within_field_name("binary_expr_right")
103103
}
104-
"mentioned_column_identifier" => match self.data {
105-
CompletionRelevanceData::Column(column) => ctx
106-
// todo(juleswritescode): collect mentioned columns from more clauses
107-
.get_mentioned_columns(&None)
108-
.is_some_and(|cols| cols.iter().any(|c| c.column == column.name)),
109-
_ => false,
110-
},
111104
_ => false,
112105
};
113106

0 commit comments

Comments
 (0)