mfussenegger / nvim-dap

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

Stop always replacing with last scope #1060

Closed NSteinhoff closed 8 months ago

NSteinhoff commented 9 months ago

lnum and end_ need to be set to nil when appending additional scopes to the widget, otherwise the final scope overwrites all previous ones. In the case of lldb, where you have 'Local', 'Global', and 'Registers', only the last scope 'Registers' would be drawn to the widget.

NSteinhoff commented 9 months ago

This is related to the fix for https://github.com/mfussenegger/nvim-dap/issues/1042

mfussenegger commented 8 months ago

Thanks