Remove the redundant fix_buffer_data vars and filename variables

This commit is contained in:
w0rp
2018-07-22 22:31:46 +01:00
parent 81a8c77d20
commit 846bfb47b2
4 changed files with 1 additions and 22 deletions

View File

@@ -420,9 +420,7 @@ function! ale#fix#InitBufferData(buffer, fixing_flag) abort
" The 'done' flag tells the function for applying changes when fixing
" is complete.
let g:ale_fix_buffer_data[a:buffer] = {
\ 'vars': getbufvar(a:buffer, ''),
\ 'lines_before': getbufline(a:buffer, 1, '$'),
\ 'filename': expand('#' . a:buffer . ':p'),
\ 'done': 0,
\ 'should_save': a:fixing_flag is# 'save_file',
\ 'temporary_directory_list': [],