From feb0ae844623a540b2de1e28b212df58881f85a2 Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Mon, 11 Mar 2024 03:55:10 -0500 Subject: [PATCH] Changing the layout for the DAP UI and adding the option for conditional breakpoints. --- nvim/lua/plugins/dap.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nvim/lua/plugins/dap.lua b/nvim/lua/plugins/dap.lua index 32dee04..75a9842 100644 --- a/nvim/lua/plugins/dap.lua +++ b/nvim/lua/plugins/dap.lua @@ -5,7 +5,6 @@ return { 'rcarriga/nvim-dap-ui', config = function() require('dapui').setup({ - -- icons mappings = { open = 'o', remove = 'd', @@ -17,15 +16,16 @@ return { { elements = { 'scopes', - 'watches', + 'breakpoints', + 'stacks', }, size = 0.33, position = 'right', }, { elements = { - 'terminal', - 'breakpoints', + 'console', + 'watches', }, size = 0.2, position = 'bottom', @@ -66,7 +66,8 @@ return { dapui.close() end - vim.fn.sign_define('DapBreakpoint', { text = '🐞', texthl = '', lineh = '', numhl = '' }) + vim.fn.sign_define('DapBreakpoint', { text = 'ᛒ', texthl = '', lineh = '', numhl = '' }) + vim.fn.sign_define('DapBreakpointCondition', { text = '🝌', texthl = '', lineh = '', numhl = '' }) vim.fn.sign_define('DapStopped', { text = '⮞' }) end, keys = {