mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 22:28:36 +02:00
add vim-fugitive
This commit is contained in:
parent
5636d0e913
commit
044d74b814
10 changed files with 392 additions and 16 deletions
17
lua/custom/plugins/nvim-dap-virtual-text.lua
Normal file
17
lua/custom/plugins/nvim-dap-virtual-text.lua
Normal file
|
@ -0,0 +1,17 @@
|
|||
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,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue