Wednesday, July 6, 2011

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



On Wed, Jul 6, 2011 at 11:36 AM, Gary Johnson <garyjohn@spocom.com> wrote:
On 2011-07-06, Alexandre Provencio wrote:
> I can also confirm that this is really an issue with the Ubuntu Natty's
> version. I've just run a livecd, installed vim-gnome, set .vimrc to 'set spell
> spelllang=en' and the same behavior described occurs.

That's very good--that should give us a starting point that other
people can use to verify and/or diagnose this problem.  I'm losing
track of exactly what behavior you're seeing, though.  After
creating a ~/.vimrc file containing only "set spell spelllang=en",
what steps do you take and what do you observe?  Give enough detail
that anyone could unambiguously repeat your steps.  If you're
opening a file that contains spelling errors that aren't being
highlighted as you expect, include the contents of that file here,
or at least some small part of it that exhibits the problem.
Ok.

1) Create (or use existing) 2 files with spelling errors

2) Start vim (or gvim) with no arguments. Start typing words which does not exist, you'll confirm that the words get highlighted by the spell checker

3) Use ':e' to edit one of the files in step1. The bug is here. The words with spelling mistakes are NOT highlighted.

4) Use ':e' again to edit the other file of step1. The words with spelling mistakes are highlighted as they should.
 

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: