We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1077a86 commit 700a3c7Copy full SHA for 700a3c7
lua/dap/ui/widgets.lua
@@ -171,7 +171,7 @@ M.threads = {
171
refresh_listener = 'event_thread',
172
new_buf = function()
173
local buf = new_buf()
174
- api.nvim_buf_set_name(buf, 'dap-threads')
+ api.nvim_buf_set_name(buf, 'dap-threads-' .. tostring(buf))
175
return buf
176
end,
177
render = function(view)
@@ -411,7 +411,7 @@ function M.hover(expr, winopts)
411
.new_win(M.with_resize(with_winopts(M.new_cursor_anchored_float_win, winopts)))
412
.build()
413
local buf = view.open(value)
414
- api.nvim_buf_set_name(buf, 'dap-hover: ' .. value)
+ api.nvim_buf_set_name(buf, 'dap-hover-' .. tostring(buf) .. ': ' .. value)
415
api.nvim_win_set_cursor(view.win, {1, 0})
416
return view
417
end
0 commit comments