-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow the specification of the word list in a crate attribute #10
Comments
Note that this would essentially only be usable as a replacement for #8 (if there's too many words), with a relative path to a file that is distributed with library. |
@huonw Well, this was intended as “the language word list”, whereas #8 was more “the domain word list”. I suppose you can have multiple copies of this attribute, though, so it might serve the purpose effectively, except for the question of whether this removes any dictionaries that might otherwise be loaded (does it override or add?). |
It still needs to be distributed with the library: essentially any use of this plugin requires dictionaries to be distributed with the library for full flexibility, e.g. even if |
#11 will help address my last point. |
Is this still wanted now that #8 is closed? |
Yes, it's not sensible to force the entire dictionary to be written inline at the top of a source file. 😄 |
Ok, ill think about this then :D |
It might be nice to be able to define an attribute like
#![spellck_lint_dict = "/path/to/words"]
on the crate, instead of depending on the environment variableSPELLCK_LINT_DICT
.The text was updated successfully, but these errors were encountered: