mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-18 12:01:27 +08:00
#427 Implement buffer variable overrides for all linter options
This commit is contained in:
1 parent
e80116cee0
commit
e97dada261
45 files changed
+117
-108
No files matched your search
@@ -14,7 +14,7 @@ function! ale_linters#rust#cargo#GetCargoExecutable(bufnr) abort
|
||||
endfunction
|
||||
|
||||
function! ale_linters#rust#cargo#GetCommand(buffer) abort
|
||||
let l:command = g:ale_rust_cargo_use_check
|
||||
let l:command = ale#Var(a:buffer, 'rust_cargo_use_check')
|
||||
\ ? 'check'
|
||||
\ : 'build'
|
||||
|
||||
|
||||
Reference in new issue
Block a user