Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to the rustfmt error buffer after spawning the rustfmt process #58

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

RomanHargrave
Copy link
Contributor

The preexisting code switches to the error buffer before constructing the rustfmt command line. In the event that there is a buffer-local value for any of the applicable variables (e.g. rustic-rustfmt-args), it is effectively ignored because the variables are taken from the context of the error buffer, rather than the working buffer.

This fixes a problem wherein buffer-local values for
rustic-rustfmt-args were effectively ignored
@CeleritasCelery CeleritasCelery merged commit 0d79e4c into emacs-rustic:main Oct 12, 2024
3 checks passed
@CeleritasCelery
Copy link
Contributor

Thanks!

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