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

Spellcheck and Latex umlaut #335

Open
GoogleCodeExporter opened this issue Aug 21, 2015 · 1 comment
Open

Spellcheck and Latex umlaut #335

GoogleCodeExporter opened this issue Aug 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Type Geiger-M\"uller

Try to add to the spell check dictionary, the last few letters will still show 
as incorrect spelling.

Now type Geiger-M\"{u}ller

Again try to add it to the spell check dictionary, this time it will work.

But not only does it work - but the first example will now show as correct when 
running spell check.

Original issue reported on code.google.com by [email protected] on 24 Feb 2015 at 12:07

@GoogleCodeExporter
Copy link
Author

I think this works as documented:

  ,----[:h zg]
  | In Visual mode the selected characters are added as a
  | word (including white space!).
  | When the cursor is on text that is marked as badly
  | spelled then the marked text is used.
  | Otherwise the word under the cursor, separated by
  | non-word characters, is used.
  `----

The problem are the chars '-{}\"' which are non-words and therefore not the
complete word will be added to the spell dictionary.
So visually select the word and use 'zg' to add the misspelled word to the 
spell file.

Also note, with recent Vim versions, zg  shows what will be added to the 
spellfile.

Original comment by [email protected] on 25 Feb 2015 at 9:38

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