diff options
author | w0rp <devw0rp@gmail.com> | 2017-02-15 22:59:26 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-02-15 22:59:33 +0000 |
commit | 9e7034c6e21743c35ed98b9820eff48346362762 (patch) | |
tree | 9d112fe2140804d1caef96b811cf4b5c03d7162f /doc/ale.txt | |
parent | 732e8a813f4f057b9c1f305272112aebb72e7b39 (diff) | |
download | ale-9e7034c6e21743c35ed98b9820eff48346362762.zip |
Fix #319 - Enable only cargo for Rust by default
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index 93cd184b..d680563b 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -289,8 +289,10 @@ g:ale_linters *g:ale_linters* following values: > { - \ 'zsh': ['shell'], \ 'csh': ['shell'], + \ 'rust': ['cargo'], + \ 'text': [], + \ 'zsh': ['shell'], \} < This option can be used to enable only a particular set of linters for a @@ -1047,6 +1049,13 @@ Some linters may have requirements for some other plugins being installed. recommended to turn off |g:ale_lint_on_text_changed| and to turn on |g:ale_lint_on_save|. + Only cargo is enabled by default. To switch to using rustc instead of cargo, + configure |g:ale_linters| appropriately: > + + " Set the help text for the option for more information. + let g:ale_linters = {'rust': ['rustc']} +< + Also note that rustc 1.12. or later is needed. =============================================================================== |