dap-ui works but no rust stdout

This commit is contained in:
Christoph J. Scherr 2024-02-05 17:51:28 +01:00
parent e8a35c7ddf
commit 92ed4a6998
1 changed files with 14 additions and 0 deletions

View File

@ -769,6 +769,20 @@ local plugins = {
dependencies = { dependencies = {
"mfussenegger/nvim-dap", "mfussenegger/nvim-dap",
}, },
config = function(_, opts)
local dap = require "dap"
local dapui = require "dapui"
dapui.setup(opts)
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
end,
}, },
{ "folke/neodev.nvim", opts = {} }, { "folke/neodev.nvim", opts = {} },
{ {