Skip to content

Commit 79cdcc4

Browse files
wowa wiwa
1 parent 77d2649 commit 79cdcc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/pgt_completions/src/providers/functions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use pgt_schema_cache::{Function, SchemaCache};
2-
use pgt_text_size::TextSize;
32
use pgt_treesitter::TreesitterContext;
43

54
use crate::{

crates/pgt_completions/src/relevance/scoring.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,10 @@ impl CompletionScore<'_> {
184184
}
185185

186186
fn check_matches_schema(&mut self, ctx: &TreesitterContext) {
187+
// TODO
187188
let schema_name = match ctx.schema_or_alias_name.as_ref() {
188189
None => return,
189-
Some(n) => n,
190+
Some(n) => n.replace('"', ""),
190191
};
191192

192193
let data_schema = match self.get_schema_name() {

0 commit comments

Comments
 (0)