Do not save for ALERename and ALEOrganizeImports

This commit is contained in:
Jerko Steiner committed 2019-10-09 20:54:47 -05:00
1 parent 3fe2223a48
commit c8c142b881
9 files changed
+97 -54

No files matched your search

+2 -1
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