plugins/dap: move to by-name

This commit is contained in:
Matt Sturgeon 2024-09-04 17:34:55 +01:00
parent 52f125679f
commit 672b9e1ceb
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
12 changed files with 0 additions and 2 deletions

View file

@ -0,0 +1,32 @@
{
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;
};
};
}