Skip to content

bug: Terminal for delve adapter displayed with "below" split #18

@catgoose

Description

@catgoose

Did you check docs and existing issues?

  • I have read all the plugin docs
  • I have searched the existing issues
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.11.0-dev-1738+g2c629ad13f

Operating system/version

Ubuntu 24.04.2 LTS

Describe the bug

My usecase is probably not the norm, but I use a bit of a workaround to make delve work with the dap terminal eventhough delve does not support the integrated terminal. I used to be able to start nvim-dap-view, grab winnr and bufnr from require("dap-view.state") and use those to run vim.job.start within the terminal.

https://github.com/catgoose/nvim/blob/main/lua/config/dap/go.lua

Before:

Image

After 80381efd1d2684880e842fecbc215a38489a9ebf:

Image

Steps To Reproduce

  1. use latest commit
  2. use my delve configuration
  3. start debugger which will attempt to hijack the dap-view terminal

Expected Behavior

terminal should be displayed with split = left or right, not bottom

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions