Do not save for ALERename and ALEOrganizeImports

This commit is contained in:
Jerko Steiner
2019-10-09 20:42:41 -05:00
parent 3fe2223a48
commit c8c142b881
9 changed files with 97 additions and 54 deletions

View File

@@ -50,7 +50,8 @@ Before:
let g:handle_code_action_called = 0
function! MockHandleCodeAction() abort
" delfunction! ale#code_action#HandleCodeAction
function! ale#code_action#HandleCodeAction(action) abort
function! ale#code_action#HandleCodeAction(action, should_save) abort
AssertEqual v:false, a:should_save
let g:handle_code_action_called += 1
endfunction
endfunction