Skip to content

Commit 9c07322

Browse files
authored
fix(neovim) dap config js debugger (#34)
Fix #12
1 parent 7075f73 commit 9c07322

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

nvim/lua/plugins/DAP.lua

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
1+
local js_based_languages = {
2+
"typescript",
3+
"javascript",
4+
"typescriptreact",
5+
"javascriptreact",
6+
"vue",
7+
}
8+
19
return {
10+
{ "nvim-neotest/nvim-nio" },
11+
{
12+
"jay-babu/mason-nvim-dap.nvim",
13+
config = function ()
14+
require("mason-nvim-dap").setup({
15+
automatic_installation = true,
16+
})
17+
end
18+
},
219
{
320
"mfussenegger/nvim-dap",
21+
dependencies = {
22+
"jay-babu/mason-nvim-dap.nvim",
23+
},
424
config = function()
525
local dap = require("dap")
626

0 commit comments

Comments
 (0)