Skip to content

Commit

Permalink
Fix qf truncate
Browse files Browse the repository at this point in the history
  • Loading branch information
tsung-ju committed Jul 6, 2024
1 parent e467d3f commit 8342829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vimtex/compiler/texpresso.vim
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function! s:texpresso_process_message(json) abort " {{{1
let l:name = l:msg[1]
let l:count = l:msg[2]
if name ==# 'out'
call setqflist(getqflist()[:l:count], 'r')
call setqflist(slice(getqflist(), 0, l:count), 'r')
endif
elseif l:msg[0] ==# 'append-lines'
let l:name = l:msg[1]
Expand Down

0 comments on commit 8342829

Please sign in to comment.