On 2012-07-27, Tobias Klausmann wrote:
> Hi!
>
> On Mon, 16 Jul 2012, Tobias Klausmann wrote:
> > I'll definitely give it a go this week (yay, vacation time) and
> > report back.
>
> Definitely works. Had a bit of an issue with filetypes -- the
> code for the spell file was not executed for my tex files, even
> though syntax highlighting worked correctly. When I hand-added
> ft=tex to the file's modeline, the code got executed.
>
> So I checked what auto-detec ft vim used -- plaintex. I'm not
> entirely sure what the purpose of this extra filetype is, but I
> can live with setting the ft=tex via the modeline.
Put this in your ~/.vimrc,
let g:tex_flavor = "latex"
and Vim will set ft=tex instead of ft=plaintex.
Regards,
Gary
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment