Skip to content

Commit 85898a0

Browse files
Ted LeahyTed Leahy
Ted Leahy
authored and
Ted Leahy
committed
mason nvim dap 2.0 removed setup_handlers() (nvim-lua#258)
1 parent 71b528e commit 85898a0

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lua/kickstart/plugins/debug.lua

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
return {
1010
-- NOTE: Yes, you can install new plugins here!
1111
'mfussenegger/nvim-dap',
12-
1312
-- NOTE: And you can specify dependencies as well
1413
dependencies = {
1514
-- Creates a beautiful debugger UI
@@ -22,7 +21,6 @@ return {
2221
-- Add your own debuggers here
2322
'leoluz/nvim-dap-go',
2423
},
25-
2624
config = function()
2725
local dap = require 'dap'
2826
local dapui = require 'dapui'
@@ -32,6 +30,10 @@ return {
3230
-- reasonable debug configurations
3331
automatic_setup = true,
3432

33+
-- You can provide additional configuration to the handlers,
34+
-- see mason-nvim-dap README for more information
35+
handlers = {},
36+
3537
-- You'll need to check that you have the required things installed
3638
-- online, please don't ask me how to install them :)
3739
ensure_installed = {
@@ -40,10 +42,6 @@ return {
4042
},
4143
}
4244

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-
4745
-- Basic debugging keymaps, feel free to change to your liking!
4846
vim.keymap.set('n', '<F5>', dap.continue)
4947
vim.keymap.set('n', '<F1>', dap.step_into)

0 commit comments

Comments
 (0)