mfussenegger / nvim-dap

Debug Adapter Protocol client implementation for Neovim
GNU General Public License v3.0
5.11k stars 179 forks source link

extmark-based sign instead of the legacy sign? #1118

Closed ofseed closed 6 months ago

ofseed commented 6 months ago

Problem Statement

Discussions in https://github.com/neovim/neovim/pull/26193#issuecomment-1859057662 made me realize that the benefit of the extmark-based sign is you can set line_hl_group, which is very useful for nvim-dap.

Possible Solutions

A noticeable highlight for the current executed line like vscode. image

Considered Alternatives

No response

mfussenegger commented 6 months ago

I don't really understand.

Signs already allow to set linehl and numhl and nvim-dap sets linehl to debugPC for the stopped sign / program counter. If you set up a highlight for debugPC you can get a highlight for the current executed line.

Please phrase the problem statement as problem statement with a focus on end-user behavior, not on implementation details.