Open chc39615 opened 6 months ago
@rcarriga I'm also getting this error on trying to send a variable to repl.
OS: MacOS Sonoma 14.5 Terminal: Iterm2 Shell: zsh
My config:
{
"rcarriga/nvim-dap-ui",
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
-- all defaults except I got rid of the console (for now).
-- Can just replace opts with {} to get back to defaults.
opts = {
layouts = { {
elements = { {
id = "scopes",
size = 0.25
}, {
id = "breakpoints",
size = 0.25
}, {
id = "stacks",
size = 0.25
}, {
id = "watches",
size = 0.25
} },
position = "left",
size = 40
}, {
elements = { {
id = "repl",
size = 1
},
-- {
-- id = "console",
-- size = 0.25
-- }
},
position = "bottom",
size = 10
} }
},
config = function(_, opts)
local dap = require("dap")
local dapui = require("dapui")
dap.listeners.after.event_initialized["dapui_config"] = function()
dapui.open({})
end
dap.listeners.before.event_terminated["dapui_config"] = function()
dapui.close({})
end
dap.listeners.before.event_exited["dapui_config"] = function()
dapui.close({})
end
dapui.setup(opts)
end,
}
OS: Windows11 10.0.22631 Terminal: Wezterm shell: PowerShell
In Watches, Scopes buffer, when I press "r" send_to_repl. I expect see a float window show the variable i choosed. But return error
I have updated the nvim-dap-ui to latest commit 5934302. Is this a bug or just need to set something correctly?