Ron Aaron wrote:
> I've been bothered by the spellchecker highlighting as incorrect,
> words with a typographically correct quotation mark, for example
> "itβs" instead of "it's".
>
> After much gnashing of teeth, I decided to download an updated spell
> file (from openoffice) and generate a new dictionary.
>
> My first attempt was to make the AFF file include a 'MIDWORD' phrase,
> but that didn't work; and when I thought about it I realized that it
> probably shouldn't work. So instead, I modified the .dic file so that
> any words with "'" in them appear also with the "β" character.
MIDWORD is only to tell the spell checker which characters are word
characters. It's used for locating the word, not for checking it
against the word list.
> I wonder if there isn't (or shouldn't be) an easier way to accomplish
> this than what I ended up doing.
>
> BTW, the edit of the .dic file took only a second or so:
>
> : g /'/ co . | s/'/β/
>
> (yes, vim is very cool!)
That should be the right solution. We could add something in the affix
file to say "convert this character to that character before spell
checking". Perhaps:
CONV β '
But, that's quite a bit of work to implement.
Please send me your updated spell files when it's working. I rarely get
updates for spell files.
--
hundred-and-one symptoms of being an internet addict:
23. You can't call your mother...she doesn't have a modem.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.