mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/dap-view: init module
This commit is contained in:
parent
324801b226
commit
cca235aacf
2 changed files with 98 additions and 0 deletions
69
tests/test-sources/plugins/by-name/dap-view/default.nix
Normal file
69
tests/test-sources/plugins/by-name/dap-view/default.nix
Normal file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.dap-view.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.dap-view = {
|
||||
enable = true;
|
||||
settings = {
|
||||
winbar = {
|
||||
show = true;
|
||||
sections = [
|
||||
"watches"
|
||||
"scopes"
|
||||
"exceptions"
|
||||
"breakpoints"
|
||||
"threads"
|
||||
"repl"
|
||||
];
|
||||
default_section = "watches";
|
||||
headers = {
|
||||
breakpoints = "Breakpoints [B]";
|
||||
scopes = "Scopes [S]";
|
||||
exceptions = "Exceptions [E]";
|
||||
watches = "Watches [W]";
|
||||
threads = "Threads [T]";
|
||||
repl = "REPL [R]";
|
||||
console = "Console [C]";
|
||||
};
|
||||
controls = {
|
||||
enabled = false;
|
||||
position = "right";
|
||||
buttons = [
|
||||
"play"
|
||||
"step_into"
|
||||
"step_over"
|
||||
"step_out"
|
||||
"step_back"
|
||||
"run_last"
|
||||
"terminate"
|
||||
"disconnect"
|
||||
];
|
||||
icons = {
|
||||
pause = "";
|
||||
play = "";
|
||||
step_into = "";
|
||||
step_over = "";
|
||||
step_out = "";
|
||||
step_back = "";
|
||||
run_last = "";
|
||||
terminate = "";
|
||||
disconnect = "";
|
||||
};
|
||||
custom_buttons = { };
|
||||
};
|
||||
};
|
||||
windows = {
|
||||
height = 12;
|
||||
terminal = {
|
||||
position = "left";
|
||||
hide = { };
|
||||
start_hidden = false;
|
||||
};
|
||||
};
|
||||
switchbuf = "usetab;newtab";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue