diff --git a/README.md b/README.md index d5d1e38..2e0b601 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ name. That seems to be the fairest way to arrange this table. | Puppet | [puppet](https://puppet.com), [puppet-lint](https://puppet-lint.com) | | Python | [flake8](http://flake8.pycqa.org/en/latest/), [mypy](http://mypy-lang.org/), [pylint](https://www.pylint.org/) | | Ruby | [rubocop](https://github.com/bbatsov/rubocop) | +| Rust | [rustc](https://www.rust-lang.org/), cargo (see `:help ale-integration-rust` for configuration instructions) | | SASS | [sass-lint](https://www.npmjs.com/package/sass-lint), [stylelint](https://github.com/stylelint/stylelint) | | SCSS | [sass-lint](https://www.npmjs.com/package/sass-lint), [scss-lint](https://github.com/brigade/scss-lint), [stylelint](https://github.com/stylelint/stylelint) | | Scala | [scalac](http://scala-lang.org) | diff --git a/ale_linters/rust/rustc.vim b/ale_linters/rust/rustc.vim index b0f82bb..3eeede6 100644 --- a/ale_linters/rust/rustc.vim +++ b/ale_linters/rust/rustc.vim @@ -7,9 +7,6 @@ endif function! ale_linters#rust#rustc#HandleRustcErrors(buffer_number, errorlines) abort - " FIXME: Fix this linter - return [] - let l:file_name = fnamemodify(bufname(a:buffer_number), ':t') let l:output = [] diff --git a/doc/ale.txt b/doc/ale.txt index fe2b1bf..940f2f0 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -94,6 +94,7 @@ The following languages and tools are supported. * Pug: 'pug-lint' * Puppet: 'puppet', 'puppet-lint' * Python: 'flake8', 'mypy', 'pylint' +* Rust: 'rustc' (see |ale-integration-rust|) * Ruby: 'rubocop' * SASS: 'sasslint', 'stylelint' * SCSS: 'sasslint', 'scsslint', 'stylelint'