-- https://github.com/igorlfs/nvim-dap-view ---@type LazyPluginSpec return { "rcarriga/nvim-dap-ui", dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" }, keys = { { "du", function() require("dapui").toggle() end, }, { "de", function() require("dapui").eval(nil, { context = "hover", enter = true }) end, mode = { "x", "n" }, }, { "dw", function() require("dapui").elements.watches.add(vim.fn.expand("")) end, }, }, opts = { controls = { element = "repl", enabled = false, }, expand_lines = true, floating = { border = "single", mappings = { close = { "q", "" }, }, }, force_buffers = true, icons = { collapsed = "+", current_frame = "*", expanded = "-", }, layouts = { { elements = { { id = "scopes", size = 0.25, }, { id = "breakpoints", size = 0.25, }, { id = "stacks", size = 0.25, }, { id = "watches", size = 0.25, }, }, position = "right", size = 50, }, { elements = { { id = "repl", }, }, position = "bottom", size = 15, }, }, mappings = { edit = "e", expand = { "", "<2-LeftMouse>", "" }, open = "o", remove = "d", repl = "r", toggle = "t", }, render = { indent = 1, max_value_lines = 100, }, }, }