Tuesday, July 5, 2011

Re: Spell checker not working for files opened with ":e"



On Mon, Jul 4, 2011 at 11:18 PM, Gary Johnson <garyjohn@spocom.com> wrote:
On 2011-07-04, Gary Johnson wrote:
> On 2011-07-04, Alexandre Provencio wrote:
> > Hello everyone, the spell checker here is is not working when opening files
> > with ":e", but it works if I ":e" again on the same viewport, or using the
> > ":tabe" or calling the file as an argument for vim as in "vim filename" (same
> > for gvim).
> >
> > I've already tried leaving only "set spell spelllang=en" on vimrc, and renaming
> > the plugins folder, and that behavior does not change.
>
> If I'm understanding you, you have renamed ~/.vim and you have
> created a ~/.vimrc containing only that command above, then when you
> start vim as just
>
>     vim
>
> you have spell-checking enabled, but when you open a file using
>
>     :e filename
>
> spell-checking is no longer enabled.
>
> OK then.  When you first start vim, execute
>
>     :verbose set spell?
>
> You should see
>
>   spell
>         Last set from ~/.vimrc
>
> Then open a file using ":e" and again execute
>
>     :verbose set spell?
>
> What do you see?

Also, what version(s) of vim/gvim are you using?  If this is a bug,
it may be in only some versions.

Version: 2:7.3.035+hg~8fdc12103333-1ubuntu7
 

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

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