Disable fsync for writefile() calls for performance
This commit is contained in:
parent
01331266a8
commit
737ed31de5
@ -422,7 +422,7 @@ function! ale#util#Writefile(buffer, lines, filename) abort
|
|||||||
\ ? map(copy(a:lines), 'substitute(v:val, ''\r*$'', ''\r'', '''')')
|
\ ? map(copy(a:lines), 'substitute(v:val, ''\r*$'', ''\r'', '''')')
|
||||||
\ : a:lines
|
\ : a:lines
|
||||||
|
|
||||||
call writefile(l:corrected_lines, a:filename) " no-custom-checks
|
call writefile(l:corrected_lines, a:filename, 'S') " no-custom-checks
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
if !exists('s:patial_timers')
|
if !exists('s:patial_timers')
|
||||||
|
Loading…
Reference in New Issue
Block a user