Skip to content

Commit

Permalink
feat(qf): parse more bibtex errors
Browse files Browse the repository at this point in the history
refer: #2953
  • Loading branch information
lervag committed May 10, 2024
1 parent afa469b commit 641295a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/vimtex/qf/bibtex.vim
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ let s:qf = {
\}

function! s:qf.set_errorformat() abort dict "{{{1
setlocal errorformat=%+E%.%#---line\ %l\ of\ file\ %f
setlocal errorformat=
setlocal errorformat+=%+EName%.%#has\ a\ comma\ at\ the\ end%.%#
setlocal errorformat+=%+EI\ found\ %.%#---while\ reading\ file\ %f
setlocal errorformat+=%+WWarning--empty\ %.%#\ in\ %.%m
setlocal errorformat+=%+WWarning--entry\ type\ for%m
setlocal errorformat+=%-Cwhile\ executing---line\ %l\ of\ file\ %f
setlocal errorformat+=%-C--line\ %l\ of\ file\ %f
setlocal errorformat+=%-G%.%#
endfunction
Expand Down

0 comments on commit 641295a

Please sign in to comment.