vim only spell checking in TeX comments

Alec Jacobson

January 20, 2014

weblog/

Editing a LaTeX document with vim, I noticed it was only spell-checking comments. I fixed this by add this to my ./vimrc:

autocmd FileType plaintex,tex,latex syntax spell toplevel