diff options
author | Idan Arye <IdanArye@gmail.com> | 2017-03-27 14:37:00 +0300 |
---|---|---|
committer | w0rp <w0rp@users.noreply.github.com> | 2017-03-27 12:37:00 +0100 |
commit | 2f40953e037eb0d70f8052e6b035758ec3fc0d5c (patch) | |
tree | 36e9254769c972246bab63dd237550e257953d22 /doc | |
parent | 8ca82af4ab9e1d95f8b577eba68f2b443b7dba07 (diff) | |
download | ale-2f40953e037eb0d70f8052e6b035758ec3fc0d5c.zip |
Make cargo linter lighter: (#408)
- Use `cargo check` instead of `cargo build` when
`g:ale_rust_cargo_use_check` is truish.
- Use `--frozen` to avoid locking the project.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale.txt | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index fb71de4e..efe6cd41 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -43,7 +43,8 @@ CONTENTS *ale-contents* 4.31. yamllint........................|ale-linter-options-yamllint| 4.32. cmakelint.......................|ale-linter-options-cmakelint| 4.33. perl-perl.......................|ale-linter-options-perl-perl| - 4.34. asm-gcc.........................|ale-linter-options-asm-gcc| + 4.34. rust-cargo......................|ale-linter-options-rust-cargo| + 4.35. asm-gcc.........................|ale-linter-options-asm-gcc| 5. Linter Integration Notes.............|ale-linter-integration| 5.1. merlin..........................|ale-linter-integration-ocaml-merlin| 5.2. rust.............................|ale-integration-rust| @@ -1123,7 +1124,18 @@ g:ale_perl_perl_options *g:ale_perl_perl_options* invocation. ------------------------------------------------------------------------------- -4.34. asm-gcc *ale-linter-options-asm-gcc* +4.34. rust-cargo *ale-linter-options-rust-cargo* + +g:ale_rust_cargo_use_check *g:ale_rust_cargo_use_check* + + Type: |Number| + Default: `1` + + When set to `1`, this option will cause ALE to use "cargo check" instead of + "cargo build". "cargo check" is supported since version 1.16.0 of Rust. + +------------------------------------------------------------------------------- +4.35. asm-gcc *ale-linter-options-asm-gcc* g:ale_asm_gcc_options *g:ale_asm_gcc_options* |