diff --git a/lazy-lock.json b/lazy-lock.json index 4c1904a..3ecbe14 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -14,18 +14,14 @@ "lspkind.nvim": { "branch": "master", "commit": "d79a1c3299ad0ef94e255d045bed9fa26025dab6" }, "lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "8e46de9241d3997927af12196bd8faa0ed08c29a" }, - "mason-nvim-dap.nvim": { "branch": "main", "commit": "f0cd12f7a8a310c58cecebddb6b219ffad1cfd0f" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mini.icons": { "branch": "main", "commit": "54686be7d58807906cb2c8c2216e0bf9c044f19a" }, "neoconf.nvim": { "branch": "main", "commit": "27ffa3a6514ba16fc55d0df240cfd4411fe80dad" }, "neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" }, "neogit": { "branch": "master", "commit": "a38945a585794c716b2ff9b25668bb5c089e8cd7" }, - "neorepl.nvim": { "branch": "master", "commit": "15f4c4e523e1fbec74766e1967e1c2491df013c9" }, "noice.nvim": { "branch": "main", "commit": "72e21399c7b292a2470d9230bf63cad5d6375140" }, "nui.nvim": { "branch": "main", "commit": "b58e2bfda5cea347c9d58b7f11cf3012c7b3953f" }, "nvim-cmp": { "branch": "main", "commit": "ca4d3330d386e76967e53b85953c170658255ecb" }, - "nvim-dap": { "branch": "master", "commit": "debd7c2f80eaf20c5f5df25db8d8c1b9b18f4421" }, - "nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" }, "nvim-lspconfig": { "branch": "master", "commit": "64073cbed0ce23e988160bfd1a148a75b6af94cc" }, "nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" }, "nvim-treesitter": { "branch": "master", "commit": "c56507f6a16d6a9bd73ab8827a49fa5533aa8fc3" }, diff --git a/lua/valeth/lazy.lua b/lua/valeth/lazy.lua index deedfc5..18e184d 100644 --- a/lua/valeth/lazy.lua +++ b/lua/valeth/lazy.lua @@ -56,6 +56,5 @@ require("lazy").setup({ }, spec = { { import = "valeth.plugins" }, - { import = "valeth.plugins.dap" }, } }) diff --git a/lua/valeth/plugins/dap/init.lua b/lua/valeth/plugins/dap/init.lua deleted file mode 100644 index 68911fb..0000000 --- a/lua/valeth/plugins/dap/init.lua +++ /dev/null @@ -1,7 +0,0 @@ -local spec = { - "mfussenegger/nvim-dap", - tag = "0.6.0", - lazy = true, -} - -return spec diff --git a/lua/valeth/plugins/dap/mason.lua b/lua/valeth/plugins/dap/mason.lua deleted file mode 100644 index 3f32457..0000000 --- a/lua/valeth/plugins/dap/mason.lua +++ /dev/null @@ -1,18 +0,0 @@ -local spec = { - "jay-babu/mason-nvim-dap.nvim", - tag = "v2.2.0", -} - -spec.opts = { - ensure_installed = { "codelldb" }, - handlers = {}, -} - -spec.dependencies = { - "williamboman/mason.nvim", - "mfussenegger/nvim-dap", -} - -spec.ft = { "rust" } - -return spec diff --git a/lua/valeth/plugins/dap/ui.lua b/lua/valeth/plugins/dap/ui.lua deleted file mode 100644 index 1bf446a..0000000 --- a/lua/valeth/plugins/dap/ui.lua +++ /dev/null @@ -1,77 +0,0 @@ -local spec = { - "rcarriga/nvim-dap-ui", - tag = "v3.9.1" -} - -spec.dependencies = { - "mfussenegger/nvim-dap", -} - -spec.keys = { - { "dbg", "DapContinue", desc = "Continue DAP session" }, - { "dbr", "DapToggleBreakpoint", desc = "Toggle breakpoint" }, - { "dso", "DapStepOver", desc = "Step over" }, - { "dq", "DapTerminate", desc = "Terminate DAP ssession" }, - { - "dt", - function() - require("dapui").toggle() - end, - desc = "Toggle DAP UI" - } -} - -spec.config = function() - local dap = require("dap") - local dap_ui = require("dapui") - - dap.listeners.after.event_initialized["dapui_config"] = function() - dap_ui.open() - end - - dap.listeners.before.event_terminated["dapui_config"] = function() - dap_ui.close() - end - - dap.listeners.before.event_exited["dapui_config"] = function() - dap_ui.close() - end - - local side = { - position = "right", - size = 40, -- columns - elements = { - { - id = "stacks", - size = 0.5, - }, - { - id = "breakpoints", - size = 0.5, - } - }, - } - - local bottom = { - position = "bottom", - size = 10, -- rows - elements = { - { - id = "scopes", - size = 0.5, - }, - { - id = "repl", - size = 0.5, - } - }, - } - - local opts = { - layouts = { side, bottom }, - } - - dap_ui.setup(opts) -end - -return spec diff --git a/lua/valeth/plugins/neorepl.lua b/lua/valeth/plugins/neorepl.lua deleted file mode 100644 index 3242790..0000000 --- a/lua/valeth/plugins/neorepl.lua +++ /dev/null @@ -1,7 +0,0 @@ -local spec = { - "ii14/neorepl.nvim" -} - -spec.cmd = "Repl" - -return spec