Spell check: ignoring soft hyphens

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Spell check: ignoring soft hyphens

Stan Brown
Apologies if this is a basic question, but I've read the documentation
on spelling multiple times and must be missing the answer. Ive also
checked the FAQ and the group archives.

GVim 7.4, running in Windows 7 and 8. I use only 8-bit characters, in
Windows-1252 encoding (set enc=latin1 in Vim).

My question: I frequently use the soft hyphen (character 173, or 255
in octal) in HTML documents. How can I tell Vim to ignore these
characters for purposes of spell check?

For example, I want Vim to consider "pur<173>pose" as a good word
because "purpose" is a good word. I don't expect Vim to know what is
correct syllabication, just to ignore any soft hyphen when it's deciding
whether a word is spelled correctly.

Currently I handle this by putting "pur<173>pose" in my word list
file, but obviously I don't want to do that with every possible
hyphenation of every possible good word.

Stan Brown
Tehachapi, CA, USA

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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/1f27dc28-16bd-5e42-c300-2098f762db58%40fastmail.fm.