Switch node's launch.js to dln keybind

This commit is contained in:
Jiří Štefka 2023-03-13 07:55:09 +01:00
parent 39e5545442
commit dabb2f969e

View file

@ -184,7 +184,7 @@ local config = {
-- Config loading
["<leader>dlc"] = { function() require("dap.ext.vscode").load_launchjs(nil, { cppdbg = { "c", "cpp", "asm" } }) end, desc =
"C/C++/asm" },
["<leader>dle"] = { function() require("dap.ext.vscode").load_launchjs(nil, { node2 = { "javascriptreact", "typescriptreact", "typescript", "javascript" }}) end, desc =
["<leader>dln"] = { function() require("dap.ext.vscode").load_launchjs(nil, { node2 = { "javascriptreact", "typescriptreact", "typescript", "javascript" }}) end, desc =
"Node" },
-- Load launch.json for all supported languages
["<leader>dla"] = { function() require("dap.ext.vscode").load_launchjs(nil, nil) end, desc = "All" },