nix-community.nixvim/tests/test-sources/plugins/by-name/dap-virtual-text/default.nix
2025-01-27 10:08:09 -06:00

34 lines
856 B
Nix

{
empty = {
plugins.dap-virtual-text.enable = true;
};
default = {
plugins.dap-virtual-text = {
enable = true;
settings = {
enabled_commands = true;
highlight_changed_variables = true;
highlight_new_as_changed = true;
show_stop_reason = true;
commented = false;
only_first_definition = true;
all_references = false;
clear_on_continue = false;
display_callback = ''
function(variable, buf, stackframe, node, options)
if options.virt_text_pos == 'inline' then
return ' = ' .. variable.value
else
return variable.name .. ' = ' .. variable.value
end
end
'';
virt_text_pos = "eol";
all_frames = false;
virt_lines = false;
};
};
};
}