* El 13/07/06 a las 20:54, Luis A. Florit chamullaba:
> * El 12/07/06 a las 23:34, Stefan Karlsson chamullaba:
>
> > > Is there an easy way to autoselect language for the builtin
> > > spell checker in vim 7.0? Vimspell plugin has this functionality:
> > > the plugin looks for a specified number of lines and try to guess
> > > which language should it use.
> > >
> >
> > Set spelllang -- yes there is three "l" in that option :-) -- to a
> > comma-separated list of the languages you're interested in. Vim will figure
> > out which of them to use.
> >
> > For example, this is how I do it in my .vimrc (I want US English and
> > Swedish):
> >
> > set spelllang=en_us,sv
>
> Oh... perfect!!!!
> How I didn't find this in the manual?
> I (think I) searched thoroughly...
> Anyway, thanks a lot!!!!
No, wait, there is a problem. If I put
set spelllang=en,pt,es
then vim ADDS this dictionaries!! So, something like
"You want to go yo quiero ir eu quero ir"
will be accepted without any error!!
So, vim just add all the dictionaries
and then this is not a good solution.
Thanks,
Luis.