diff options
author | w0rp <devw0rp@gmail.com> | 2017-03-29 00:34:03 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-03-29 00:34:03 +0100 |
commit | 8e71f233da6c45c03c216b7fab2919d1c512c6dc (patch) | |
tree | c2cad28e8255f8b6ac57156ea8a1394f04971d5d /doc/ale-rust.txt | |
parent | 3f5cb55e737ab314b62bc21ff41fd6b052d92068 (diff) | |
download | ale-8e71f233da6c45c03c216b7fab2919d1c512c6dc.zip |
Use the lint_file option so the Cargo linter will only be run against files on disk
Diffstat (limited to 'doc/ale-rust.txt')
-rw-r--r-- | doc/ale-rust.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/ale-rust.txt b/doc/ale-rust.txt index d0d4f707..f06151f2 100644 --- a/doc/ale-rust.txt +++ b/doc/ale-rust.txt @@ -16,9 +16,8 @@ Integration Information |g:ale_rust_ignore_error_codes| to ignore some of these errors. 2. cargo -- If your project is managed by Cargo, the whole project is checked. That means that all errors are properly shown, but cargo can - only operate on the files written on disk. That means it is highly - recommended to turn off |g:ale_lint_on_text_changed| and to turn on - |g:ale_lint_on_save| in your vimrc file. + only operate on the files written on disk, so errors will not be reported + while you type. Only cargo is enabled by default. To switch to using rustc instead of cargo, configure |g:ale_linters| appropriately: > |