nvim-focus/focus.nvim

Error when using with nvim-bqf

Closed this issue · 2 comments

When using with kevinhwang91/nvim-bqf, the previewer causes the following error:

Error executing vim.schedule lua callback: vim/_meta.lua:170: E591: 'winheight' cannot be smaller than 'winminheight'

Adding to the excluded_buftypes solves this for now:

excluded_buftypes = { 'nofile', 'prompt', 'popup', 'quickfix'}

Are you still having this issue? It appears to be an issue with BQF adjusting the height on its own. I think the solution you posted is likely the best way around it. As we can't stop BQF changing height variables

Thanks for the explanation. Using excluded_buftypes works great.