mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
32 lines
800 B
Nix
32 lines
800 B
Nix
{
|
|
empty = {
|
|
plugins.dap.extensions.dap-virtual-text.enable = true;
|
|
};
|
|
|
|
default = {
|
|
plugins.dap.extensions.dap-virtual-text = {
|
|
enable = true;
|
|
|
|
enabledCommands = true;
|
|
highlightChangedVariables = true;
|
|
highlightNewAsChanged = true;
|
|
showStopReason = true;
|
|
commented = false;
|
|
onlyFirstDefinition = true;
|
|
allReferences = false;
|
|
clearOnContinue = false;
|
|
displayCallback = ''
|
|
function(variable, buf, stackframe, node, options)
|
|
if options.virt_text_pos == 'inline' then
|
|
return ' = ' .. variable.value
|
|
else
|
|
return variable.name .. ' = ' .. variable.value
|
|
end
|
|
end
|
|
'';
|
|
virtTextPos = "eol";
|
|
allFrames = false;
|
|
virtLines = false;
|
|
};
|
|
};
|
|
}
|