Skip to content

Commit d33b905

Browse files
committed
chore: styling
1 parent ee21f3b commit d33b905

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/dapui/windows/layout.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ function WindowLayout:close()
153153
vim.cmd("stopinsert") -- Prompt buffers act poorly when closed in insert mode, see #33
154154
end
155155
pcall(api.nvim_win_close, win, true)
156-
if vim.fn.bufname(buf) ~= "[dap-repl]"
156+
if
157+
vim.fn.bufname(buf) ~= "[dap-repl]"
157158
and api.nvim_buf_get_option(buf, "buftype") ~= "terminal"
158159
then
159160
api.nvim_buf_delete(buf, { force = true, unload = false })

0 commit comments

Comments
 (0)