pub fn open<'a>(
entries: impl IntoIterator<Item = (&'a str, i64)> + Debug,
) -> Result<()>Expand description
Opens the quickfix window with the provided file and line number entries.
Populates the quickfix list with the given entries and opens the quickfix window for user navigation. Each entry consists of a filename and line number. If no entries are provided, returns early without opening the quickfix window.
§Errors
- Fails if
setqflistNeovim function call encounters an error. - Fails if
copencommand execution encounters an error.
§Rationale
Uses Nvim’s built-in quickfix functionality to avoid custom UI implementations.