kevinhwang91/nvim-bqf

WinResize toggles preview even when ptoggleauto is disabled

Subjective opened this issue · 2 comments

Neovim version (nvim -v | head -n1)

NVIM v0.10.0-dev-1031+gc431d820e

Operating system/version

macOS 13.4

How to reproduce the issue

  1. :copen
  2. Toggle ptoggleauto to "Disable preview automatically" (default keybind is P)
  3. Adjust terminal window size
  4. Preview opens for selected qf menu item until cursor is moved

Expected behavior

For the preview to not appear

Actual behavior

Preview opens for selected qf menu item until the cursor is moved vertically
Screen Recording 2023-09-08 at 7 17 47 PM

I just realized that this doesn't happen before 60ebdf0.

Not exactly related, but it also seems like a gap sometimes appears between the preview and qf window when resizing the qf window.

Screen Recording 2023-09-10 at 1 57 57 PM