Open GoogleCodeExporter opened 9 years ago
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 chrisbr...@googlemail.com
on 25 Feb 2015 at 9:38
Original issue reported on code.google.com by
ad...@a-sharpe.co.uk
on 24 Feb 2015 at 12:07