Skip to content

Commit

Permalink
merge: avoid fsync in callback output
Browse files Browse the repository at this point in the history
refer: #1986
  • Loading branch information
lervag committed Mar 9, 2021
2 parents e3d3cee + 7ffa00e commit 3af88f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vimtex/compiler/latexmk.vim
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ endfunction
function! s:callback_continuous_output(channel, msg) abort " {{{1
if exists('b:vimtex.compiler.output')
\ && filewritable(b:vimtex.compiler.output)
call writefile([a:msg], b:vimtex.compiler.output, 'a')
call writefile([a:msg], b:vimtex.compiler.output, 'aS')
endif

if a:msg ==# 'vimtex_compiler_callback_success'
Expand Down

0 comments on commit 3af88f3

Please sign in to comment.