Skip to content

Conversation

@Arniiiii
Copy link

@Arniiiii Arniiiii commented Aug 5, 2025

Using recipe before:

image

QuickFix doesn't understand what is the place ( I checked via :cnext ), so parsing clearly does not work.

Using new recipe:

image

Solution heavily depends on solution from https://phelipetls.github.io/posts/async-make-in-nvim-with-lua/ and the fact that Neovim somehow understand by itself that if file is *.rs , then compiler is cargo and therefore sets corresponding errorformat .

"on_output_quickfix",
open = not params.bang,
open_height = 8,
errorformat = efm,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think most of these changes are unnecessary. If you just replace this line with

errorformat = vim.o.errorformat

does that fix the behavior for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants