mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 00:54:48 +02:00
plugins/dap-virtual-text: migrate to mkNeovimPlugin
This commit is contained in:
parent
9eae5db29a
commit
32aa73af47
6 changed files with 142 additions and 137 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue