preservim / vim-wordy

Uncover usage problems in your writing
Other
716 stars 23 forks source link

Set spelllang correctly #35

Closed bcl closed 5 years ago

bcl commented 5 years ago

Full paths are not allowed in spelllang, only the lang names.

In the ./spell/ directory the files are named using the 'lang' which in the case of wordy is the dict name.

This patch drops the actual lang from the .spl path, and only passes the dict names to spelllang.

NOTE: I am not a vimscript expert, this solution works for me when loading vim-wordy using pathogen. Closes issue #33

reedes commented 5 years ago

Thanks for the fix!