Saturday, July 28, 2012

Re: Simple way to add local spell file for a limited set of filesystem locations

Hi!

On Fri, 27 Jul 2012, Gary Johnson wrote:
> On 2012-07-27, Tobias Klausmann wrote:
> > 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.

Ah, and with that variable name I was able to find more
documentation about the flavors of TeX vim recognizes.

Thanks!

Regards,
Tobias

--
Sent from aboard the Culture ship
GCU It's Character Forming

--
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: