astro-nvim-v3 - modified layout dap ui

This commit is contained in:
huyjaky
2024-10-31 11:11:55 +07:00
parent e589e54fa3
commit f2237328fe
9 changed files with 136 additions and 44 deletions

View File

@@ -2,6 +2,49 @@ return {
"rcarriga/nvim-dap-ui",
requires = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
opts = {
eval = true
eval = true,
mappings = {
edit = "e",
expand = { "<CR>", "<2-LeftMouse>" },
open = "o",
remove = "d",
repl = "r",
toggle = "t"
},
layouts = {
{
elements = {
{
id = "repl",
size = 0.5,
},
{
id = "console",
size = 0.5,
},
},
position = "left",
size = 40,
},
{
elements = {
{
id = "scopes",
size = 0.25,
},
{
id = "breakpoints",
size = 0.25,
},
-- {
-- id = "stacks",
-- size = 0.25,
-- },
},
position = "bottom",
size = 20,
},
},
},
}