>     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

-- 
Stefan

Reply via email to