9
9
return {
10
10
-- NOTE: Yes, you can install new plugins here!
11
11
' mfussenegger/nvim-dap' ,
12
-
13
12
-- NOTE: And you can specify dependencies as well
14
13
dependencies = {
15
14
-- Creates a beautiful debugger UI
@@ -22,7 +21,6 @@ return {
22
21
-- Add your own debuggers here
23
22
' leoluz/nvim-dap-go' ,
24
23
},
25
-
26
24
config = function ()
27
25
local dap = require ' dap'
28
26
local dapui = require ' dapui'
@@ -32,6 +30,10 @@ return {
32
30
-- reasonable debug configurations
33
31
automatic_setup = true ,
34
32
33
+ -- You can provide additional configuration to the handlers,
34
+ -- see mason-nvim-dap README for more information
35
+ handlers = {},
36
+
35
37
-- You'll need to check that you have the required things installed
36
38
-- online, please don't ask me how to install them :)
37
39
ensure_installed = {
@@ -40,10 +42,6 @@ return {
40
42
},
41
43
}
42
44
43
- -- You can provide additional configuration to the handlers,
44
- -- see mason-nvim-dap README for more information
45
- require (' mason-nvim-dap' ).setup_handlers ()
46
-
47
45
-- Basic debugging keymaps, feel free to change to your liking!
48
46
vim .keymap .set (' n' , ' <F5>' , dap .continue )
49
47
vim .keymap .set (' n' , ' <F1>' , dap .step_into )
0 commit comments