Skip to content

Commit c014d67

Browse files
okay!
1 parent 17b1739 commit c014d67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/pgt_hover/src/hovered_node.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ impl HoveredNode {
9999

100100
"identifier"
101101
if (
102-
// hover over custom type in create table, returns
102+
// hover over custom type in `create table` or `returns`
103103
(ctx.matches_ancestor_history(&["type", "object_reference"])
104104
&& ctx.node_under_cursor_is_within_field_name("custom_type"))
105105

106-
// hover over type in select clause etc…
106+
// hover over type in `select` clause etc…
107107
|| (ctx
108108
.matches_ancestor_history(&["field_qualifier", "object_reference"])
109109
&& ctx.before_cursor_matches_kind(&["("])))

0 commit comments

Comments
 (0)