mirror of
https://github.com/dense-analysis/ale.git
synced 2026-11-04 19:32:50 +08:00
Run a lint cycle after fixing problems
This commit is contained in:
1 parent
18467a55b5
commit
74691269ce
2 files changed
+9
-1
No files matched your search
@@ -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