Fix #2711 - Fix writing to files on save
This commit is contained in:
parent
529f57a66f
commit
dd6bd6f0fe
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ function! ale#fix#ApplyQueuedFixes(buffer) abort
|
||||||
set nomodified
|
set nomodified
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
call writefile(l:new_lines, expand(a:buffer . ':p')) " no-custom-checks
|
call writefile(l:new_lines, expand('#' . a:buffer . ':p')) " no-custom-checks
|
||||||
call setbufvar(a:buffer, '&modified', 0)
|
call setbufvar(a:buffer, '&modified', 0)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Reference in a new issue