nvim-dap-ui.lua (273B)
1 require('dapui').setup() 2 vim.keymap.set({'n', 'v'}, '<localleader>dh', function() 3 require('dapui').eval(nil, {}) 4 end, { desc = 'Eval current expression' }) 5 vim.keymap.set('n', '<localleader>do', function() 6 require('dapui').toggle() 7 end, { desc = '[D]ebug toggle UI' })