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

The Rust compiler checker runs on save even with `let g:rustfmt_autosave = 0` #305

Open
stevenroose opened this Issue Feb 2, 2019 · 4 comments

Comments

Projects
None yet
2 participants
@stevenroose
Copy link

stevenroose commented Feb 2, 2019

No description provided.

@stevenroose

This comment has been minimized.

Copy link
Author

stevenroose commented Feb 2, 2019

Sorry for the lack of details. It's just that I really fail to not have it hang 5 seconds every time I save, which is like every 10 seconds. When I disable this plugin, it stops, so somehow it's making it do this.

@da-x

This comment has been minimized.

Copy link
Member

da-x commented Feb 2, 2019

With g:rustfmt_autosave = 0 I think it's something else. Perhaps you have Syntastic active. With rust.vim's support for it, 'cargo check' is being run synchronously.

@stevenroose

This comment has been minimized.

Copy link
Author

stevenroose commented Feb 2, 2019

@da-x

This comment has been minimized.

Copy link
Member

da-x commented Feb 2, 2019

Yes. Here's the pertinent Syntastic issue on the matter:

vim-syntastic/syntastic#689

It can be disabled per buffer or globally. I also have Syntastic loaded but in passive mode, and I use it to complement ALE which filters errors per-buffer. I sometimes need a a crate global location list of errors, and it's then when I manually invoke :SyntasticCheck.

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