summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-01-19 20:21:54 +0000
committerw0rp <devw0rp@gmail.com>2017-01-19 20:21:54 +0000
commitea438be5c108aba328db790ab0d08531ea74abd1 (patch)
treee88e9a6af5fbab4332d081045ddd854cb42bb6a9
parent831f783493ec761191da48a07536b267cbe565ec (diff)
downloadale-ea438be5c108aba328db790ab0d08531ea74abd1.zip
REVERT "Fix some naming conventions and use abort for all Rust functions, and disable the rust linters for now, re #256"
This reverts commit f412b4f96fa49f4ed856db25c10bdf4b9c2e4cec. Conflicts: doc/ale.txt
-rw-r--r--README.md1
-rw-r--r--ale_linters/rust/rustc.vim3
-rw-r--r--doc/ale.txt1
3 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index d5d1e381..2e0b601e 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 b0f82bb2..3eeede66 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 fe2b1bf2..940f2f0c 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'