diff --git a/.config/nvim/lua/plugins/bufferline.lua b/.config/nvim/lua/plugins/bufferline.lua index 655cd76..36a3633 100644 --- a/.config/nvim/lua/plugins/bufferline.lua +++ b/.config/nvim/lua/plugins/bufferline.lua @@ -7,7 +7,10 @@ bufferline.setup({ options = { close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" - offsets = { { filetype = "neo-tree", text = "", padding = 1 } }, + offsets = { + { filetype = "neo-tree", text = "", padding = 1 }, + { filetype = "dapui_scopes", text = "", padding = 1 }, + }, separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' }, }, highlights = { diff --git a/.config/nvim/lua/plugins/dap.lua b/.config/nvim/lua/plugins/dap.lua index d12f6d5..9e23cab 100644 --- a/.config/nvim/lua/plugins/dap.lua +++ b/.config/nvim/lua/plugins/dap.lua @@ -14,7 +14,28 @@ if not dap_install_status_ok then end dap_install.config("python", {}) -dapui.setup({}) +dapui.setup({ + layouts = { + { + elements = { + { id = "scopes", size = 0.25 }, + "watches", + "stacks", + "breakpoints", + }, + size = 50, -- columns + position = "left", + }, + { + elements = { + "repl", + -- "console", + }, + size = 0.25, -- 25% of total lines + position = "bottom", + }, + }, +}) vim.fn.sign_define("DapBreakpoint", { text = "", texthl = "DiagnosticSignError", linehl = "", numhl = "" }) diff --git a/.config/nvim/lua/plugins/init.lua b/.config/nvim/lua/plugins/init.lua index 0fdcbcb..d4cdef1 100644 --- a/.config/nvim/lua/plugins/init.lua +++ b/.config/nvim/lua/plugins/init.lua @@ -11,8 +11,8 @@ require("plugins.lualine") require("plugins.illuminate") require("plugins.indentline") require("plugins.lsp") -require("plugins.dap") require("plugins.go") +require("plugins.dap") require("plugins.outline") require("plugins.wilder") require("plugins.trouble")