Changing the layout for the DAP UI and adding the option for conditional breakpoints.
This commit is contained in:
parent
43a742b9cf
commit
feb0ae8446
@ -5,7 +5,6 @@ return {
|
|||||||
'rcarriga/nvim-dap-ui',
|
'rcarriga/nvim-dap-ui',
|
||||||
config = function()
|
config = function()
|
||||||
require('dapui').setup({
|
require('dapui').setup({
|
||||||
-- icons
|
|
||||||
mappings = {
|
mappings = {
|
||||||
open = 'o',
|
open = 'o',
|
||||||
remove = 'd',
|
remove = 'd',
|
||||||
@ -17,15 +16,16 @@ return {
|
|||||||
{
|
{
|
||||||
elements = {
|
elements = {
|
||||||
'scopes',
|
'scopes',
|
||||||
'watches',
|
'breakpoints',
|
||||||
|
'stacks',
|
||||||
},
|
},
|
||||||
size = 0.33,
|
size = 0.33,
|
||||||
position = 'right',
|
position = 'right',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
elements = {
|
elements = {
|
||||||
'terminal',
|
'console',
|
||||||
'breakpoints',
|
'watches',
|
||||||
},
|
},
|
||||||
size = 0.2,
|
size = 0.2,
|
||||||
position = 'bottom',
|
position = 'bottom',
|
||||||
@ -66,7 +66,8 @@ return {
|
|||||||
dapui.close()
|
dapui.close()
|
||||||
end
|
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 = '⮞' })
|
vim.fn.sign_define('DapStopped', { text = '⮞' })
|
||||||
end,
|
end,
|
||||||
keys = {
|
keys = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user