errata-ai / vale-vscode

A Visual Studio Code extension for the Vale CLI.
https://marketplace.visualstudio.com/items?itemName=errata-ai.vale-server
MIT License
53 stars 18 forks source link

Add support for spelling suggestions from `nspell` #115

Closed jdkato closed 1 year ago

jdkato commented 1 year ago

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).