przepompownia / nvim-dap-tab

Keep nvim-dap-ui in a separate tab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nvim-dap-tab

Keep nvim-dap-ui in a separate tab

This simple extension can be useful if you need to keep existing tabs untouched by debugging steps.

After introducing switchbuf strategies in nvim-dap we need to set it to uselast to allow nvim-dap-tab to work correctly. See :help dap.defaults.

After run

require(dap-tab).setup()

dap-ui interface will be opened in a special tab (the new if it did not exist before) after each stop on a breakpoint.

There is no defined keymap but you can use the following functions in own maps:

  • require(dap-tab).verboseGoToDebugWin()
  • require(dap-tab).closeDebugWin()

About

Keep nvim-dap-ui in a separate tab


Languages

Language:Lua 100.0%