f3fora / cmp-nuspell

nuspell source for nvim-cmp based on nuspell
10 stars 1 forks source link

Alternate language support #2

Closed mtoohey31 closed 2 months ago

mtoohey31 commented 2 years ago

Hello! This PR adds support for selecting alternative languages via the global variable cmp_nuspell_lang. The default is "en_US", so this won't cause a breaking change for existing users, though it also adds an error message when no dictionary is found, so that would be a breaking change for anyone who has the plugin installed but doesn't have a dictionary.

Let me know if there's anything you'd like me to change, or if there's a better way to allow configuration of the language.

Closes #1.