Skip to content

doc: fix recipe for async :Make#440

Merged
stevearc merged 5 commits intostevearc:masterfrom
Arniiiii:master
Feb 24, 2026
Merged

doc: fix recipe for async :Make#440
stevearc merged 5 commits intostevearc:masterfrom
Arniiiii:master

Conversation

@Arniiiii
Copy link
Contributor

@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 .

doc/recipes.md Outdated
"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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems so.

@github-actions github-actions bot requested a review from stevearc February 4, 2026 15:06
@stevearc
Copy link
Owner

Thanks!

@stevearc stevearc merged commit 2802c15 into stevearc:master Feb 24, 2026
7 checks passed
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