From 0337ac706770e1fcc00b2fead080e4e08c6fb6d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Sat, 7 May 2022 13:28:18 +0200 Subject: [PATCH] Add .vscode/launch.json support to dap --- symlinks/config/nvim/plugin/dap.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/symlinks/config/nvim/plugin/dap.lua b/symlinks/config/nvim/plugin/dap.lua index 6b4b59b..0d4f538 100644 --- a/symlinks/config/nvim/plugin/dap.lua +++ b/symlinks/config/nvim/plugin/dap.lua @@ -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()