This completes the spell check feature we've been discussing by getting suggestions from the nspell library. I choose this library because (like Vale) it doesn't require Hunspell to be installed.
We do have to provide a dictionary (https://github.com/wooorm/dictionaries), which isn't ideal because we should probably be using the same one that Vale is using. At some point, I'll drop nspell and simply get the suggestions from whatever dictionary Vale is using (the default or user-provided).
This completes the spell check feature we've been discussing by getting suggestions from the
nspell
library. I choose this library because (like Vale) it doesn't require Hunspell to be installed.We do have to provide a dictionary (https://github.com/wooorm/dictionaries), which isn't ideal because we should probably be using the same one that Vale is using. At some point, I'll drop
nspell
and simply get the suggestions from whatever dictionary Vale is using (the default or user-provided).