remove console from dap-ui layout

This commit is contained in:
Natercio Moniz
2025-07-21 15:35:58 +01:00
parent 7040f7d16c
commit e97cbf946c
2 changed files with 25 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ return {
},
},
},
mappings = {
auto_suggestions = false,
},
},
dependencies = {
'nvim-lua/plenary.nvim',

View File

@@ -87,6 +87,28 @@ return {
disconnect = '',
},
},
layouts = {
{
elements = {
{ id = 'scopes', size = 0.25 },
{ id = 'breakpoints', size = 0.25 },
{ id = 'stacks', size = 0.25 },
{ id = 'watches', size = 0.25 },
},
size = 40, -- width of the panel
position = 'left',
},
{
elements = {
{ id = 'repl', size = 1.0 },
-- mostly useless to me (Delve doesn't use it)
-- { id = "console", size = 0.25 }
},
size = 10, -- height of the panel
position = 'bottom',
},
},
}
vim.fn.sign_define('DapBreakpoint', { text = '🔴', texthl = '', linehl = '', numhl = '' })