From e0836c4faf5a81b9d2803e879bb83fe64cb7b74c Mon Sep 17 00:00:00 2001 From: Dmitrii Morozov Date: Thu, 30 Oct 2025 01:05:02 +0100 Subject: Replace nova-dap-ui with nvim-dap-view plugin --- lua/plugins/dap-view.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lua/plugins/dap-view.lua (limited to 'lua/plugins/dap-view.lua') diff --git a/lua/plugins/dap-view.lua b/lua/plugins/dap-view.lua new file mode 100644 index 0000000..786039f --- /dev/null +++ b/lua/plugins/dap-view.lua @@ -0,0 +1,30 @@ +return { + "igorlfs/nvim-dap-view", + keys = { + { + "du", + function() + require("dap-view").toggle() + end, + desc = "DAP View", + }, + }, + ---@module 'dap-view' + ---@type dapview.Config + opts = { + winbar = { + sections = { "console", "scopes", "watches", "repl" }, + default_section = "console", + controls = { + enabled = true, + }, + }, + }, + config = function(_, opts) + require("dap-view").setup(opts) + + require("dap").listeners.after.event_initialized["dap-view-config"] = function() + require("dap-view").open() + end + end, +} -- cgit v1.2.3