Reply to message «Setting filetype with autocommand», sent 20:36:08 03 February 2011, Thursday by Marco:
:h :setfiletype
Set the 'filetype' option to {filetype}, but only if
not done yet in a sequence of (nested) autocommands.
*only if not done yet*
Original message:
> Hi,
>
> sorry for spamming the list but I've got another question.
> I have the following line in my .vimrc
>
> au BufRead, BufNewFile *.tex setfiletype context
>
> Why is the filetype still »plaintex« after opening a .tex file?
>
>
> Regards
> Marco
signature.asc
Description: This is a digitally signed message part.
