From 5455aacdedfb2829f000b2f120a6d5194d1227f8 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sun, 22 Jan 2023 10:18:07 +0100 Subject: feat: big change on the structure of the plugins, move several things to config dir --- lua/alpha/plugins/dap.lua | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 lua/alpha/plugins/dap.lua (limited to 'lua/alpha/plugins/dap.lua') diff --git a/lua/alpha/plugins/dap.lua b/lua/alpha/plugins/dap.lua deleted file mode 100644 index f8a7b17..0000000 --- a/lua/alpha/plugins/dap.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - "mfussenegger/nvim-dap", - dependencies = { - "theHamsta/nvim-dap-virtual-text", - "rcarriga/nvim-dap-ui", - "leoluz/nvim-dap-go", - "mxsdev/nvim-dap-vscode-js", - "anuvyklack/hydra.nvim", - "nvim-telescope/telescope-dap.nvim", - "rcarriga/cmp-dap", - }, - keys = { { "d" } }, - config = function() - require("alpha.dap") - local ok_telescope, telescope = pcall(require, "telescope") - if ok_telescope then - telescope.load_extension("dap") - end - - local ok_cmp, cmp = pcall(require, "cmp") - if ok_cmp then - cmp.setup.filetype({ "dap-repl", "dapui_watches" }, { - sources = cmp.config.sources({ - { name = "dap" }, - }, { - { name = "buffer" }, - }), - }) - end - end -} -- cgit v1.2.3