mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-16 01:07:06 +08:00
Run a lint cycle after fixing problems
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
Before:
|
||||
Save g:ale_fixers, &shell
|
||||
Save g:ale_fixers, &shell, g:ale_enabled
|
||||
let g:ale_enabled = 0
|
||||
let g:ale_run_synchronously = 1
|
||||
let g:ale_fixers = {
|
||||
\ 'testft': [],
|
||||
@@ -31,6 +32,7 @@ Before:
|
||||
function RemoveLastLine(buffer, lines) abort
|
||||
return ['a', 'b']
|
||||
endfunction
|
||||
|
||||
After:
|
||||
Restore
|
||||
unlet! g:ale_run_synchronously
|
||||
|
||||
Reference in New Issue
Block a user