plugins/dap-virtual-text: migrate to mkNeovimPlugin

This commit is contained in:
Austin Horstman 2025-01-26 15:26:10 -06:00
parent 9eae5db29a
commit 32aa73af47
No known key found for this signature in database
6 changed files with 142 additions and 137 deletions

View file

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