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