Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling not updated after 'spellfile' change #221

Closed
GoogleCodeExporter opened this issue Aug 3, 2015 · 2 comments
Closed

Spelling not updated after 'spellfile' change #221

GoogleCodeExporter opened this issue Aug 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

When activating 'spell' and afterwards updating 'spellfile', the content of the 
current screen is not updated. After updating the screen manually (using 
Ctrl+L), the newly added and/or removed words are highlighted correctly.

I think it would make sense to automatically refresh the screen after the 
spellfile is updated, as it could always result in a change of the known words 
(except the changed spellfile is empty).

I am currently working on Windows 7 64 bit, with the latest official gVim 7.4 
from 10th of August 2013.

Original issue reported on code.google.com by walder...@gmx.net on 22 Apr 2014 at 7:43

@GoogleCodeExporter
Copy link
Author

Here is a patch:

diff --git a/src/option.c b/src/option.c
--- a/src/option.c
+++ b/src/option.c
@@ -6673,6 +6673,7 @@ did_set_string_option(opt_idx, varp, new
                if (wp->w_buffer == curbuf && wp->w_p_spell)
                {
                    errmsg = did_set_spelllang(wp);
+                   redraw_later(NOT_VALID);
 # ifdef FEAT_WINDOWS
                    break;
 # endif

Original comment by chrisbr...@googlemail.com on 30 Apr 2014 at 2:41

@GoogleCodeExporter
Copy link
Author

fixed by 7.4.288

Original comment by chrisbr...@googlemail.com on 2 Oct 2014 at 7:52

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant