So I'm beginning to learn LaTeX and often find myself mistyping control sequences like \idotsint
. I use editor plugins which call lacheck
and chktex
on the document which helps catch some errors, but whenever I mistype a control sequence, neither tool reports any issue. Instead, tools like pdflatex
are left to realize \idotqint
doesn't exist.
Is there any way I can get a syntax checker / linter to report if I use an undefined control sequence in my document, preferably so my editor and such can know which line number to point out?
EDIT: I am using vim with the vimtex plugin.