We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d8ef1 commit 0fc730bCopy full SHA for 0fc730b
lua/dap-view/actions.lua
@@ -1,3 +1,5 @@
1
+local dap = require("dap")
2
+
3
local winbar = require("dap-view.options.winbar")
4
local setup = require("dap-view.setup")
5
local autocmd = require("dap-view.options.autocmd")
@@ -20,6 +22,9 @@ end
20
22
21
23
---@param hide_terminal? boolean
24
M.close = function(hide_terminal)
25
+ if state.current_section == "repl" then
26
+ dap.repl.close({ mode = "toggle" })
27
+ end
28
if state.winnr and api.nvim_win_is_valid(state.winnr) then
29
api.nvim_win_close(state.winnr, true)
30
end
0 commit comments