return { -- https://github.com/theHamsta/nvim-dap-virtual-text 'theHamsta/nvim-dap-virtual-text', lazy = true, opts = { -- Display debug text as a comment commented = true, -- Customize virtual text display_callback = function(variable, buf, stackframe, node, options) if options.virt_text_pos == 'inline' then return ' = ' .. variable.value else return variable.name .. ' = ' .. variable.value end end, }, }