kevinhwang91 / nvim-bqf

Better quickfix window in Neovim, polish old quickfix window.
BSD 3-Clause "New" or "Revised" License
1.69k stars 30 forks source link

WinResize toggles preview even when ptoggleauto is disabled #121

Closed Subjective closed 1 year ago

Subjective commented 1 year ago

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

Subjective commented 1 year ago

I just realized that this doesn't happen before https://github.com/kevinhwang91/nvim-bqf/commit/60ebdf05c273e8e7f420851c6a33bbd731a1de8d.

Subjective commented 1 year ago

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