plugins.dap.extensions.dap-virtual-text.enable
Whether to enable dap-virtual-text.
Type: boolean
Default:
false
Example:
true
Declared by:
plugins.dap.extensions.dap-virtual-text.enabledCommands
Create commands DapVirtualTextEnable
, DapVirtualTextDisable
, DapVirtualTextToggle
.
(DapVirtualTextForceRefresh
for refreshing when debug adapter did not notify its termination).
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.package
Which package to use for the dap-virtual-text plugin.
Type: package
Default:
<derivation vimplugin-nvim-dap-virtual-text-2024-04-05>
Declared by:
plugins.dap.extensions.dap-virtual-text.allFrames
Show virtual text for all stack frames not only current.
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.allReferences
Show virtual text on all all references of the variable (not only definitions).
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.clearOnContinue
Clear virtual text on continue
(might cause flickering when stepping).
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.commented
Prefix virtual text with comment string.
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.displayCallback
A callback that determines how a variable is displayed or whether it should be omitted.
Plugin default:
function(variable, buf, stackframe, node, options)
if options.virt_text_pos == 'inline' then
return ' = ' .. variable.value
else
return variable.name .. ' = ' .. variable.value
end
end,
Type: null or lua function string
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.highlightChangedVariables
Highlight changed values with NvimDapVirtualTextChanged
, else always NvimDapVirtualText
.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.highlightNewAsChanged
Highlight new variables in the same way as changed variables (if highlightChangedVariables).
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.onlyFirstDefinition
Only show virtual text at first definition (if there are multiple).
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.showStopReason
Show stop reason when stopped for exceptions.
Plugin default: true
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.virtLines
Show virtual lines instead of virtual text (will flicker!).
Plugin default: false
Type: null or boolean or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.virtTextPos
Position of virtual text, see :h nvim_buf_set_extmark()
.
Default tries to inline the virtual text. Use ‘eol’ to set to end of line.
Plugin default: "vim.fn.has 'nvim-0.10' == 1 and 'inline' or 'eol'"
Type: null or string or raw lua code
Default:
null
Declared by:
plugins.dap.extensions.dap-virtual-text.virtTextWinCol
Position the virtual text at a fixed window column (starting from the first text column).
See :h nvim_buf_set_extmark()
.
Type: null or signed integer
Default:
null
Declared by: