Disable fsync for writefile() calls for performance

This commit is contained in:
w0rp 2019-04-26 20:17:33 +01:00
parent 01331266a8
commit 737ed31de5
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83

View File

@ -422,7 +422,7 @@ function! ale#util#Writefile(buffer, lines, filename) abort
\ ? map(copy(a:lines), 'substitute(v:val, ''\r*$'', ''\r'', '''')')
\ : a:lines
call writefile(l:corrected_lines, a:filename) " no-custom-checks
call writefile(l:corrected_lines, a:filename, 'S') " no-custom-checks
endfunction
if !exists('s:patial_timers')