File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl HoveredNode {
4848 "role_identifier" => Some ( HoveredNode :: Role ( node_content) ) ,
4949
5050 "any_identifier"
51- if ctx. matches_ancestor_history ( & [ "relation" , "object_reference "] )
51+ if ctx. matches_ancestor_history ( & [ "table_reference " ] )
5252 || ctx
5353 . matches_ancestor_history ( & [ "grantable_on_table" , "object_reference" ] ) =>
5454 {
@@ -81,7 +81,8 @@ impl HoveredNode {
8181 }
8282
8383 "any_identifier"
84- if ctx. matches_ancestor_history ( & [ "binary_expression" , "object_reference" ] ) =>
84+ if ctx. matches_ancestor_history ( & [ "binary_expression" , "object_reference" ] )
85+ || ctx. matches_ancestor_history ( & [ "term" , "object_reference" ] ) =>
8586 {
8687 Some ( HoveredNode :: Column ( (
8788 ctx. identifier_qualifiers . 0 . clone ( ) ,
@@ -91,7 +92,7 @@ impl HoveredNode {
9192 }
9293
9394 "any_identifier"
94- if ctx. matches_ancestor_history ( & [ "invocation" , "object_reference " ] ) =>
95+ if ctx. matches_ancestor_history ( & [ "invocation" , "function_reference " ] ) =>
9596 {
9697 Some ( HoveredNode :: Function ( (
9798 ctx. identifier_qualifiers . 1 . clone ( ) ,
You can’t perform that action at this time.
0 commit comments