From 1ac9ed0ed86e6c26d73a5760021f3e7418a44b5f Mon Sep 17 00:00:00 2001 From: fm39hz-laptop Date: Thu, 27 Jun 2024 14:11:20 +0700 Subject: [PATCH] feat: change nvim-dap layout --- lua/plugins/override.lua | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/lua/plugins/override.lua b/lua/plugins/override.lua index 52f5c89..c6477a4 100644 --- a/lua/plugins/override.lua +++ b/lua/plugins/override.lua @@ -203,4 +203,36 @@ return { }, }, }, + { + "rcarriga/nvim-dap-ui", + opts = { + expand_lines = true, + icons = { expanded = "", collapsed = "", circular = "" }, + layouts = { + { + elements = { + { id = "watches", size = 0.24 }, + { id = "scopes", size = 0.24 }, + { id = "breakpoints", size = 0.24 }, + { id = "stacks", size = 0.28 }, + }, + size = 0.23, + position = "right", + }, + { + elements = { + { id = "repl", size = 0.55 }, + { id = "console", size = 0.45 }, + }, + size = 0.27, + position = "bottom", + }, + }, + floating = { + max_height = 0.9, + max_width = 0.5, + border = "rounded", + }, + }, + }, }