diff options
Diffstat (limited to 'lua/plugins/dap.lua')
| -rw-r--r-- | lua/plugins/dap.lua | 51 |
1 files changed, 26 insertions, 25 deletions
diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index a3e40df..6236b84 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -237,31 +237,31 @@ end -- } --}) -dapui.setup({ - layouts = { - { - elements = { - "watches", - }, - size = 0.2, - position = "left", - }, - }, - controls = { - enabled = false, - }, - render = { - max_value_lines = 3, - }, - floating = { - max_height = nil, -- These can be integers or a float between 0 and 1. - max_width = nil, -- Floats will be treated as percentage of your screen. - border = "single", -- Border style. Can be "single", "double" or "rounded" - mappings = { - close = { "q", "<Esc>" }, - }, - }, -}) +--dapui.setup({ +-- layouts = { +-- { +-- elements = { +-- "watches", +-- }, +-- size = 0.2, +-- position = "left", +-- }, +-- }, +-- controls = { +-- enabled = false, +-- }, +-- render = { +-- max_value_lines = 3, +-- }, +-- floating = { +-- max_height = nil, -- These can be integers or a float between 0 and 1. +-- max_width = nil, -- Floats will be treated as percentage of your screen. +-- border = "single", -- Border style. Can be "single", "double" or "rounded" +-- mappings = { +-- close = { "q", "<Esc>" }, +-- }, +-- }, +--}) -- setup dapui dapui.setup({ @@ -366,5 +366,6 @@ vim.cmd([[ ]]) -- options --dap.set_exception_breakpoints("default") +dap.defaults.fallback.switchbuf = 'uselast' dap.defaults.fallback.focus_terminal = false dap.defaults.fallback.terminal_win_cmd = '10split new' |
