Skip to content

Commit

Permalink
fix(hover): check session exists
Browse files Browse the repository at this point in the history
See #340
  • Loading branch information
rcarriga committed Mar 18, 2024
1 parent 11fcaa7 commit 13888eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/dapui/components/hover.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ return function(client, send_ready)
end,
---@param canvas dapui.Canvas
render = function(canvas)
local frame = client.session.current_frame
local frame = client.session and client.session.current_frame
if not frame then
return
end
Expand Down

1 comment on commit 13888eb

@mehalter
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rcarriga hey, hope all is well! Sorry for the ping, but I was wondering if you could please tag a 4.0.1 patch release of nvim-dap-ui with this commit included? Thanks so much for writing and maintaining this plugin!

Please sign in to comment.