restructured my single init.lua into separate files and bqf plugin causes a one-time only error #626
Integralist
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
👋🏻
I've started moving all my nvim config into separate files and noticed this error...
Interestingly, it only happens once.
If I open vim and run
:grep! function
the error happens, and then if I run the same command again it doesn't show (or any time again until I close/re-open vim) 🤔Even more interesting is if I open vim and run
:copen
first (so my cursor is inside the quickfix window), and then run the grep command, it will work fine. No error. But I then see a 'double' quickfix window shown...I think there's a race condition involved with the bfq plugin's configuration but as I'm not familiar with lazy.nvim (having only just moved to it last week) I'm not sure how best to resolve it.
Here is the commit with my single init.lua file:
https://github.com/Integralist/nvim/blob/723fb11e7acd9837be762cada932a548600be29e/init.lua
Here's my now restructured init.lua file:
https://github.com/Integralist/nvim/blob/6f9e2e6035bcf16432fb865a9b24cd2d6464abfd/init.lua
Beta Was this translation helpful? Give feedback.
All reactions