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).
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.dap.extensions.dap-virtual-text.package
The dap-virtual-text package to use.
Type: package
Default:
pkgs.vimPlugins.nvim-dap-virtual-text
Declared by:
plugins.dap.extensions.dap-virtual-text.allFrames
Show virtual text for all stack frames not only current.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.dap.extensions.dap-virtual-text.allReferences
Show virtual text on all all references of the variable (not only definitions).
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.dap.extensions.dap-virtual-text.clearOnContinue
Clear virtual text on continue
(might cause flickering when stepping).
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.dap.extensions.dap-virtual-text.commented
Prefix virtual text with comment string.
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.dap.extensions.dap-virtual-text.displayCallback
A callback that determines how a variable is displayed or whether it should be omitted.
Type: null or lua function string
Default:
null
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,
''
Declared by:
plugins.dap.extensions.dap-virtual-text.highlightChangedVariables
Highlight changed values with NvimDapVirtualTextChanged
, else always NvimDapVirtualText
.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.dap.extensions.dap-virtual-text.highlightNewAsChanged
Highlight new variables in the same way as changed variables (if highlightChangedVariables).
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
Declared by:
plugins.dap.extensions.dap-virtual-text.onlyFirstDefinition
Only show virtual text at first definition (if there are multiple).
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.dap.extensions.dap-virtual-text.showStopReason
Show stop reason when stopped for exceptions.
Type: null or boolean or raw lua code
Default:
null
Plugin default: true
Declared by:
plugins.dap.extensions.dap-virtual-text.virtLines
Show virtual lines instead of virtual text (will flicker!).
Type: null or boolean or raw lua code
Default:
null
Plugin default: false
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.
Type: null or string or raw lua code
Default:
null
Plugin default: "vim.fn.has 'nvim-0.10' == 1 and 'inline' or 'eol'"
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: