Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spellcheck: now with multi-language support! #449

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

Gaspartcho
Copy link
Contributor

So this PR changes some things to the Spellcheck plugin, especially on how it handles dictionaries:

The dictionaries files now come as a mandatory dependency to the plugin as pre-formated .lua files (in the brand new dictionaries library).

The user can now switch between multiple dictionaries with the appropriate command (however the spell-check of the file does not entirely reload automatically (and I don't know how to do that)

Also now, when the user adds a new word to the dictionary, it does not add directly to the main dictionary file, but to a special config one (could implement some sort of "added words management" later).

There is still some issues in the code however, (like the handling of accents, as "é", "è", "â", ...) which the code does not consider as "alphanumeric characters")

For now I added only the French and English dictionaries, but one could easily add more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant