[Vim-latex-devel] filetype not set on latexmain file
Brought to you by:
srinathava,
tmaas
From: Robin <ro...@gm...> - 2010-07-30 09:29:35
|
Hi, I am using the .latexmain file feature for a document that includes multiple source files. If I open one of the included files it helpfully includes the main file as well - but I can't get the filetype on this automatically opened file to be set. I have tried adding it in a modeline but it doesn't work. I guess the workaround is to always explicitly open the main document first (or reload the file - but I just noticed it is also opened readonly). Is there a better way around this (ie change so thats opened as a normal file). Cheers Robin |