From b3fc64dd4867066cdca73d0f8f9f9836f433d331 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Mon, 5 Feb 2024 14:44:31 +0100 Subject: [PATCH] dap kann mich mal --- lua/custom/plugins.lua | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 794dd2c..596a7cb 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -727,34 +727,6 @@ local plugins = { require("icon-picker").setup { disable_legacy_commands = true } end, }, - { - "mfussenegger/nvim-dap", - init = function() - require("core.utils").load_mappings "debug" - end, - config = function() - local dap = require "dap" - dap.adapters.gdb = { - type = "executable", - command = "gdb", - args = { "-i", "dap" }, - } - - dap.configurations.c = { - { - name = "Launch", - type = "gdb", - request = "launch", - program = function() - return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file") - end, - cwd = "${workspaceFolder}", - }, - } - dap.configurations.rust = dap.configurations.c - dap.configurations.cpp = dap.configurations.c - end, - }, } return plugins