Skip to content
Prev Previous commit
Next Next commit
ok ok
  • Loading branch information
juleswritescode committed Oct 10, 2025
commit 308e34f55d48a45dc38fd65efeab422a9ae762d2
4 changes: 0 additions & 4 deletions crates/pgt_hover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,12 @@ pub struct OnHoverParams<'a> {
position = params.position.to_string()
))]
pub fn on_hover(params: OnHoverParams) -> Vec<String> {
println!("on hover!");

let ctx = pgt_treesitter::context::TreesitterContext::new(TreeSitterContextParams {
position: params.position,
text: params.stmt_sql,
tree: params.ts_tree,
});

println!("ctx {:#?}", ctx);

if let Some(hovered_node) = HoveredNode::get(&ctx) {
let items: Vec<Hoverable> = match hovered_node {
HoveredNode::Table(node_identification) => match node_identification {
Expand Down
Loading