mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-27 12:02:26 +08:00
Do not save for ALERename and ALEOrganizeImports
This commit is contained in:
@@ -57,8 +57,9 @@ Before:
|
||||
call add(g:expr_list, a:expr)
|
||||
endfunction
|
||||
|
||||
function! ale#code_action#HandleCodeAction(code_action) abort
|
||||
function! ale#code_action#HandleCodeAction(code_action, should_save) abort
|
||||
let g:handle_code_action_called = 1
|
||||
AssertEqual v:true, a:should_save
|
||||
call add(g:code_actions, a:code_action)
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user