mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
![neovim-backports[bot]](/assets/img/avatar_default.png)
fix(health): floating window closes when opening TOC (gO) #34794
Problem: Health check floating window gets closed when pressing 'gO' to show TOC because LSP floating preview system auto-closes on BufEnter events triggered by :lopen.
Solution: Temporarily disable BufEnter event for the current window during TOC operations and adjust window layout to prevent overlap.
(cherry picked from commit 28b7c2df52
)
Co-authored-by: glepnir <glephunter@gmail.com>