File tree Expand file tree Collapse file tree
pgls_completions/src/providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ mod tests {
447447 "select name from instruments i join others o on i.z = o.a <sql>" ,
448448 )
449449 . type_sql ( "where o.<1>a = <2>i.z and <3>i.id > 5;" )
450- . comment ( "should respect alias speciifcation " )
450+ . comment ( "should respect alias specification " )
451451 . comment ( "should not prioritize suggest columns or schemas (right side of binary expression)" )
452452 . comment ( "should prioritize columns that aren't already mentioned" ) ,
453453 )
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ impl<'a> TreesitterContext<'a> {
384384 "where" => Some ( WrappingClause :: Where ) ,
385385 "update" => Some ( WrappingClause :: Update ) ,
386386 "select" => Some ( WrappingClause :: Select ) ,
387- "delete " => Some ( WrappingClause :: Delete ) ,
387+ "delete_statement " => Some ( WrappingClause :: Delete ) ,
388388 "from" => Some ( WrappingClause :: From ) ,
389389 "drop_table" => Some ( WrappingClause :: DropTable ) ,
390390 "alter_role" => Some ( WrappingClause :: AlterRole ) ,
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ pub fn previous_sibling_completed(node: tree_sitter::Node) -> bool {
9797
9898 is_finished && last_children_completed ( prev)
9999 } else {
100- false
100+ true
101101 }
102102}
103103
You can’t perform that action at this time.
0 commit comments