nvim: fix dap-ui configuration

This commit is contained in:
PowerUser64 2022-06-22 01:41:50 -07:00
parent 68f073dab3
commit 8f92613c6f

View file

@ -72,30 +72,6 @@ M.dap_ui = function()
edit = "s", -- (as in substitute) edit = "s", -- (as in substitute)
repl = "r", -- open a repl repl = "r", -- open a repl
}, },
sidebar = {
-- You can change the order of elements in the sidebar
elements = {
-- size can be float or integer > 1
{ id = "scopes", size = 0.80, },
{ id = "breakpoints", size = 0.20 },
-- { id = "stacks", size = 0.15 },
-- { id = "watches", size = 0.15 },
},
size = 40,
position = "left", -- Can be "left", "right", "top", "bottom"
},
tray = {
elements = { "repl" },
size = 0,
position = "top", -- Can be "left", "right", "top", "bottom"
},
floating = {
max_height = nil, -- These can be integers or a float between 0 and 1.
max_width = nil, -- Floats will be treated as percentage of your screen.
mappings = {
close = { "q", "<Esc>" },
},
},
windows = { indent = 1 }, windows = { indent = 1 },
}) })
end -- <<< end -- <<<