mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Disable fsync for writefile() calls for performance
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user