mend
This commit is contained in:
parent
6a9d53df72
commit
6fbe6678a8
|
|
@ -1,9 +1,9 @@
|
||||||
return {
|
return {
|
||||||
filetypes = {
|
filetypes = {
|
||||||
'javascript',
|
-- 'javascript',
|
||||||
'javascriptreact',
|
-- 'javascriptreact',
|
||||||
'typescript',
|
-- 'typescript',
|
||||||
'typescriptreact',
|
-- 'typescriptreact',
|
||||||
'vue',
|
'vue',
|
||||||
},
|
},
|
||||||
init_options = {
|
init_options = {
|
||||||
|
|
|
||||||
|
|
@ -33,9 +33,10 @@ return {
|
||||||
{ '<F1>', dap.step_into, desc = 'Debug: Step Into' },
|
{ '<F1>', dap.step_into, desc = 'Debug: Step Into' },
|
||||||
{ '<F2>', dap.step_over, desc = 'Debug: Step Over' },
|
{ '<F2>', dap.step_over, desc = 'Debug: Step Over' },
|
||||||
{ '<F3>', dap.step_out, desc = 'Debug: Step Out' },
|
{ '<F3>', dap.step_out, desc = 'Debug: Step Out' },
|
||||||
{ '<leader>b', dap.toggle_breakpoint, desc = 'Debug: Toggle Breakpoint' },
|
{ '<leader>cb', dap.toggle_breakpoint, desc = 'Debug: Toggle Breakpoint' },
|
||||||
|
{ '<leader>ct', dapui.toggle, desc = 'Toggle DAP UI' },
|
||||||
{
|
{
|
||||||
'<leader>B',
|
'<leader>cB',
|
||||||
function()
|
function()
|
||||||
dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ')
|
dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ')
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue