1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 06:39:25 +00:00

[neovim] Improve dap experience

This commit is contained in:
2022-11-05 13:30:40 +01:00
parent 418c42bda2
commit f25a72ce2a
3 changed files with 27 additions and 3 deletions

View File

@ -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 = "" })