Fix #2744 - Make ALEFix work when only casing is changed

This commit is contained in:
w0rp
2019-09-20 19:02:21 +01:00
parent 7b38e97943
commit d93512fe60
2 changed files with 46 additions and 46 deletions

View File

@@ -74,7 +74,7 @@ endfunction
function! ale#fix#ApplyFixes(buffer, output) abort
let l:data = g:ale_fix_buffer_data[a:buffer]
let l:data.output = a:output
let l:data.changes_made = l:data.lines_before != l:data.output
let l:data.changes_made = l:data.lines_before !=# l:data.output " no-custom-checks
let l:data.done = 1
call ale#command#RemoveManagedFiles(a:buffer)