From 737ed31de5be0c50502d820421726b8a707d1a58 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 26 Apr 2019 20:17:33 +0100 Subject: [PATCH] Disable fsync for writefile() calls for performance --- autoload/ale/util.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ale/util.vim b/autoload/ale/util.vim index e57307e4..e7563608 100644 --- a/autoload/ale/util.vim +++ b/autoload/ale/util.vim @@ -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')