Fix #2711 - Fix writing to files on save

This commit is contained in:
w0rp 2019-09-19 20:32:33 +01:00
parent 529f57a66f
commit dd6bd6f0fe
No known key found for this signature in database
GPG key ID: 0FC1ECAA8C81CD83

View file

@ -47,7 +47,7 @@ function! ale#fix#ApplyQueuedFixes(buffer) abort
set nomodified
endif
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)
endif
endif