r0nsha/qfpreview.nvim — reverse-engineered prompt
Reverse engineered prompt
Build me a small Neovim plugin in Lua that adds a simple preview window for the quickfix list. When I move through quickfix entries, I want to see the matching file location in a separate preview area so I don’t have to jump into every result just to check it.
Keep it focused and lightweight. The preview window should either fill the remaining editor space or use a fixed height that I can configure. I also want options to show or hide the buffer name, pass extra window settings, throttle preview updates so it doesn’t feel jumpy, and choose whether LSP clients and diagnostics are enabled in the preview buffer.
Please include a clean setup function with sensible defaults, examples for lazy.nvim and packer.nvim, and basic help documentation for Neovim. This shouldn’t try to replace a full quickfix UI plugin, just make the normal quickfix workflow nicer with previews. Look up current Neovim plugin docs online if you need to.
Want more depth? Deep Reverse