Add .vscode/launch.json support to dap

main
Ensar Sarajčić 2022-05-07 13:28:18 +02:00
parent 3ffc8dd1be
commit 0337ac7067
1 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,11 @@ vim.api.nvim_create_user_command("NeovimDebugThis", function()
require("osv").run_this()
end, {})
-- Vscode launch.json support
vim.api.nvim_create_user_command("DapLoadVsCodeLaunch", function(args)
require("dap.ext.vscode").load_launchjs(args.args)
end, {})
-- Nvim DAP UI
local dapui = require("dapui")
dapui.setup()