summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-04-26 20:17:33 +0100
committerw0rp <devw0rp@gmail.com>2019-04-26 20:17:33 +0100
commit737ed31de5be0c50502d820421726b8a707d1a58 (patch)
tree6174fba938bd38e521011351bf926e9388736f2f /autoload
parent01331266a84859d4b0935b81ae773ff0d7af7522 (diff)
downloadale-737ed31de5be0c50502d820421726b8a707d1a58.zip
Disable fsync for writefile() calls for performance
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/util.vim2
1 files changed, 1 insertions, 1 deletions
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')