File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/pgt_completions/src/providers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ pub(crate) fn find_matching_alias_for_table(
17
17
pub ( crate ) fn get_completion_text_with_schema_or_alias (
18
18
ctx : & CompletionContext ,
19
19
item_name : & str ,
20
- item_schema_name : & str ,
20
+ schema_or_alias_name : & str ,
21
21
) -> Option < CompletionText > {
22
- if item_schema_name == "public" || ctx. schema_or_alias_name . is_some ( ) {
22
+ if schema_or_alias_name == "public" || ctx. schema_or_alias_name . is_some ( ) {
23
23
None
24
24
} else {
25
25
let node = ctx. node_under_cursor . unwrap ( ) ;
@@ -30,7 +30,7 @@ pub(crate) fn get_completion_text_with_schema_or_alias(
30
30
) ;
31
31
32
32
Some ( CompletionText {
33
- text : format ! ( "{}.{}" , item_schema_name , item_name) ,
33
+ text : format ! ( "{}.{}" , schema_or_alias_name , item_name) ,
34
34
range,
35
35
} )
36
36
}
You can’t perform that action at this time.
0 commit comments