In Hunspell, it is possible to make several characters
Chris Lott <ch...
> Does anyone know how I can get spell check
> within Vim to handle "smart" quotes (i.e.
> typographically correct ones) properly?
> For instance, spell check in Vim doesn't flag a word like:
> but it does flag the smart quote version as incorrect:
equivalent with the ICONV command. For example,
the following Hunspelll command in *.aff file replaces
the ASCII quote U+0027 into U+2019 prior to probing
the dictionary so that don’t or don't are both accepted:
ICONV ’ '
But Vim does not process the ICONV Hunspell
directives when creating a Vim dictionary.
An alternative is to use the Vimchant plugin
so that Vim can then use Hunspell dictionaries
Or you can also use the LanguageTool plugin
which not only does grammar checking in Vim but
now also does spell checking (since LanguageTool
version 1.8) using either Hunspell of FSA (Finate
State Automaton http://stevehanov.ca/blog/index.php?id=115)