Skip to content

Commit 65cc053

Browse files
even simpler
1 parent 7e38cc6 commit 65cc053

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

crates/pgls_hover/src/hovered_node.rs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
use pgls_treesitter::WrappingClause;
22

3-
type NodeIdentification = (Option<String>, String);
4-
53
#[allow(unused)]
64
#[derive(Debug)]
75
pub(crate) enum HoveredNode {
86
Schema(String),
9-
Table(NodeIdentification),
10-
Function(NodeIdentification),
7+
Table((Option<String>, String)),
8+
Function((Option<String>, String)),
119
Column((Option<String>, Option<String>, String)),
12-
Policy(NodeIdentification),
13-
Trigger(NodeIdentification),
10+
Policy((Option<String>, String)),
11+
Trigger((Option<String>, String)),
1412
Role(String),
15-
PostgresType(NodeIdentification),
13+
PostgresType((Option<String>, String)),
1614
}
1715

1816
impl HoveredNode {

0 commit comments

Comments
 (0)