We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b1739 commit c014d67Copy full SHA for c014d67
crates/pgt_hover/src/hovered_node.rs
@@ -99,11 +99,11 @@ impl HoveredNode {
99
100
"identifier"
101
if (
102
- // hover over custom type in create table, returns…
+ // hover over custom type in `create table` or `returns`
103
(ctx.matches_ancestor_history(&["type", "object_reference"])
104
&& ctx.node_under_cursor_is_within_field_name("custom_type"))
105
106
- // hover over type in select clause etc…
+ // hover over type in `select` clause etc…
107
|| (ctx
108
.matches_ancestor_history(&["field_qualifier", "object_reference"])
109
&& ctx.before_cursor_matches_kind(&["("])))
0 commit comments