diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-07 21:38:23 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-07 21:38:23 +0200 |
| commit | 60407d5725924008dd5c66165ecd8388b744be6d (patch) | |
| tree | c2d72cde645454179880ab59fba33e31ca56b20b /lua/plugins/dap.lua | |
| parent | ca98c5069a92081c2176ecd6d1e0687dfdb06a38 (diff) | |
| download | dotfiles-60407d5725924008dd5c66165ecd8388b744be6d.tar.gz dotfiles-60407d5725924008dd5c66165ecd8388b744be6d.zip | |
Changed layout of elements for dap-ui
Diffstat (limited to 'lua/plugins/dap.lua')
| -rw-r--r-- | lua/plugins/dap.lua | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index 4414cef..52b8714 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -289,16 +289,21 @@ dapui.setup({ layouts = { { elements = { - { id = "scopes", size = 0.5 }, - { id = "watches", size = 0.5 }, + -- Elements can be strings or table with id and size keys. + { id = "scopes", size = 0.4 }, + "breakpoints", + "stacks", + "watches", }, - size = 40, + size = 50, -- 40 columns position = "left", }, { - elements = { "console", "repl" }, + elements = { + "console", + }, + size = 0.3, position = "bottom", - size = 15, }, }, render = { @@ -318,15 +323,16 @@ dapui.setup({ collapsed = "", current_frame = "", }, + { "theHamsta/nvim-dap-virtual-text", config = true }, }) -- signs local sign = vim.fn.sign_define sign("DapBreakpoint", { text = "●", texthl = "DapBreakpoint", linehl = "", numhl = "" }) +sign("DapBreakpointCondition", { text = "◆", texthl = "DapBreakpointCondition", linehl = "", numhl = "" }) +sign("DapBreakpointRejected", { text = 'R', texthl = 'DiagnosticError', numhl = 'DiagnosticError' }) +sign("DapLogPoint", { text = "L", texthl = "DapLogPoint", linehl = "", numhl = "" }) sign('DapStopped', { text = '', texthl = 'DiagnosticSignHint', numbhl = '', linehl = '' }) -sign("DapBreakpointRejected", { text = '!>', texthl = 'DiagnosticError', numhl = 'DiagnosticError' }) -sign("DapBreakpointCondition", { text = "●", texthl = "DapBreakpointCondition", linehl = "", numhl = "" }) -sign("DapLogPoint", { text = "◆", texthl = "DapLogPoint", linehl = "", numhl = "" }) --sign('DapBreakpoint', { text = '', texthl = 'DiagnosticSignError', numbhl = '', linehl = '' }) --sign("DapLogPoint", { text = '.>', texthl = 'DiagnosticInfo', numhl = 'DiagnosticInfo' }) |
