Skip to content

Commit c4dee15

Browse files
leave the logs to the beavers
1 parent 5dff3a6 commit c4dee15

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

crates/pgt_completions/src/context.rs

-3
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,7 @@ impl<'a> CompletionContext<'a> {
8585
mentioned_relations: HashMap::new(),
8686
};
8787

88-
tracing::warn!("gathering tree context");
8988
ctx.gather_tree_context();
90-
91-
tracing::warn!("gathering info from ts query");
9289
ctx.gather_info_from_ts_queries();
9390

9491
ctx

crates/pgt_completions/src/relevance.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ impl CompletionRelevance<'_> {
5757
let name = match self.data {
5858
CompletionRelevanceData::Function(f) => f.name.as_str(),
5959
CompletionRelevanceData::Table(t) => t.name.as_str(),
60-
CompletionRelevanceData::Column(c) => {
61-
//
62-
c.name.as_str()
63-
}
60+
CompletionRelevanceData::Column(c) => c.name.as_str(),
6461
};
6562

6663
if name.starts_with(content) {

postgrestools.jsonc

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// YOU CAN COMMENT ME OUT :)
1818
"db": {
1919
"host": "127.0.0.1",
20-
"port": 54322,
20+
"port": 5432,
2121
"username": "postgres",
2222
"password": "postgres",
2323
"database": "postgres",

0 commit comments

Comments
 (0)