I am trying to get the indent file for tex to work. I have a Ubuntu 14.04 install with vim 7.4. I can manually load the indent script using :
source /usr/share/vim/vim74/indent/tex.vim
But when I use
filetype plugin indent on
and I check :scriptnames, the aforementioned script is not listed and none is listed with the name "tex.vim". What is going on ?
Try put this command in your vimrc
after the filetype plugin indent on
:
autocmd FileType tex source /usr/share/vim/vim74/indent/tex.vim