Skip to content

Commit

Permalink
fix(qf): parse missing character errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Apr 28, 2024
1 parent 6c01660 commit 7845b5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions autoload/vimtex/qf/latexlog.vim
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function! s:qf.set_errorformat() abort dict "{{{1
setlocal errorformat+=%+ERunaway\ argument?
setlocal errorformat+=%+C{%m
setlocal errorformat+=%C!\ %m
setlocal errorformat+=%EMissing\ character:\ %m

" More info for undefined control sequences
setlocal errorformat+=%Z<argument>\ %m
Expand Down
6 changes: 6 additions & 0 deletions test/example-quickfix/main.log
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.

Missing character: There is no ^^A (U+0001) in font [lmroman10-regular]:+tlig;!
.
<argument> ...not:N \tex_shipout:D \box_use:N \l_shipout_box
\__shipout_drop_firstpage_...
l.9 \end{document}

./test.tex:11: Undefined control sequence.
l.11 \cdashline
{1-7}
Expand Down

0 comments on commit 7845b5d

Please sign in to comment.