tests/plugins/dap-view: update defaults

This commit is contained in:
Gaetan Lepage 2025-08-20 00:54:07 +02:00 committed by Austin Horstman
parent d597c9cbca
commit 3427b61539

View file

@ -6,6 +6,7 @@
defaults = { defaults = {
plugins.dap-view = { plugins.dap-view = {
enable = true; enable = true;
settings = { settings = {
winbar = { winbar = {
show = true; show = true;
@ -25,7 +26,7 @@
short_label = " [B]"; short_label = " [B]";
action.__raw = '' action.__raw = ''
function() function()
views.switch_to_view("breakpoints") require("dap-view.views").switch_to_view("breakpoints")
end end
''; '';
}; };
@ -35,7 +36,7 @@
short_label = "󰂥 [S]"; short_label = "󰂥 [S]";
action.__raw = '' action.__raw = ''
function() function()
views.switch_to_view("scopes") require("dap-view.views").switch_to_view("scopes")
end end
''; '';
}; };
@ -45,7 +46,7 @@
short_label = "󰢃 [E]"; short_label = "󰢃 [E]";
action.__raw = '' action.__raw = ''
function() function()
views.switch_to_view("exceptions") require("dap-view.views").switch_to_view("exceptions")
end end
''; '';
}; };
@ -55,7 +56,7 @@
short_label = "󰛐 [W]"; short_label = "󰛐 [W]";
action.__raw = '' action.__raw = ''
function() function()
views.switch_to_view("watches") require("dap-view.views").switch_to_view("watches")
end end
''; '';
}; };
@ -65,7 +66,7 @@
short_label = "󱉯 [T]"; short_label = "󱉯 [T]";
action.__raw = '' action.__raw = ''
function() function()
views.switch_to_view("threads") require("dap-view.views").switch_to_view("threads")
end end
''; '';
}; };
@ -79,6 +80,16 @@
end end
''; '';
}; };
sessions = {
keymap = "K";
label = "Sessions [K]";
short_label = " [K]";
action.__raw = ''
function()
require("dap-view.views").switch_to_view("sessions")
end
'';
};
console = { console = {
keymap = "C"; keymap = "C";
label = "Console [C]"; label = "Console [C]";
@ -90,7 +101,7 @@
''; '';
}; };
}; };
custom_sections = { }; custom_sections = [ ];
controls = { controls = {
enabled = false; enabled = false;
position = "right"; position = "right";
@ -104,18 +115,7 @@
"terminate" "terminate"
"disconnect" "disconnect"
]; ];
icons = { custom_buttons = [ ];
pause = "";
play = "";
step_into = "";
step_over = "";
step_out = "";
step_back = "";
run_last = "";
terminate = "";
disconnect = "";
};
custom_buttons = { };
}; };
}; };
windows = { windows = {
@ -124,15 +124,31 @@
terminal = { terminal = {
width = 0.5; width = 0.5;
position = "left"; position = "left";
hide = [ ]; hide = { };
start_hidden = false; start_hidden = false;
}; };
}; };
icons = {
disabled = "";
disconnect = "";
enabled = "";
filter = "󰈲";
negate = " ";
pause = "";
play = "";
run_last = "";
step_back = "";
step_into = "";
step_out = "";
step_over = "";
terminate = "";
};
help = { help = {
border = null; border = null;
}; };
switchbuf = "usetab"; switchbuf = "usetab";
auto_toggle = false; auto_toggle = false;
follow_tab = false;
}; };
}; };
}; };