mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-21 05:17:05 +08:00
Use the lint_file option so the Cargo linter will only be run against files on disk
This commit is contained in:
1 parent
3f5cb55e73
commit
8e71f233da
2 files changed
+3
-3
No files matched your search
@@ -27,4 +27,5 @@ call ale#linter#Define('rust', {
|
||||
\ 'command_callback': 'ale_linters#rust#cargo#GetCommand',
|
||||
\ 'callback': 'ale#handlers#rust#HandleRustErrors',
|
||||
\ 'output_stream': 'stdout',
|
||||
\ 'lint_file': 1,
|
||||
\})
|
||||
Reference in new issue
Block a user