Skip to content

autoload/rustfmt.vim should not call rustfmt on load #524

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

Open
cjhopman opened this issue May 2, 2025 · 0 comments
Open

autoload/rustfmt.vim should not call rustfmt on load #524

cjhopman opened this issue May 2, 2025 · 0 comments

Comments

@cjhopman
Copy link

cjhopman commented May 2, 2025

Even with rustfmt disabled, we're going to load autoload/rustfmt.vim

Currently, this will call rustfmt --help and rustfmt --version when loading. This can rarely take an extremely long time (like when cargo needs to download new toolchain components).

Encountering this really slow load on some interactions causes vim to have pretty bad behavior (for example, when a source control tool opens the editor for resolving merge conflict, encountering this slow load when closing the editor feels completely broken).

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

No branches or pull requests

1 participant