Moving tex.vim to ftplugin to make sure it gets loaded at the right time.