Fix #319 - Enable only cargo for Rust by default

This commit is contained in:
w0rp
2017-02-15 22:59:26 +00:00
parent 732e8a813f
commit 9e7034c6e2
2 changed files with 14 additions and 2 deletions

View File

@@ -18,10 +18,13 @@ let s:default_ale_linter_aliases = {
" The user defined linter selections will be merged with this Dictionary.
"
" No linters are used for plaintext files by default.
"
" Only cargo is enabled for Rust by default.
let s:default_ale_linters = {
\ 'zsh': ['shell'],
\ 'csh': ['shell'],
\ 'rust': ['cargo'],
\ 'text': [],
\ 'zsh': ['shell'],
\}
" Testing/debugging helper to unload all linters.