Skip to content

Conversation

@wikimatze
Copy link
Contributor

Hi Reed,

I finally found the time to add the desired feature: Make it possible to add custom spellfile for each project.

Here is an example how to use it:

command -nargs=0 BookEnglisch call lexical#init({
                    \ 'spell': 1,
                    \ 'spelllang':  ['en'],
                    \ 'dictionary': ['/usr/share/dict/words'],
                    \ 'thesaurus':  ['~/.vim/thesaurus/mthesaur.txt'],
                    \ 'spellfile':  ['~/.vim/spell/en.utf-8.add'],
                    \ })

command -nargs=0 BookGerman call lexical#init({
                    \ 'spell': 1,
                    \ 'spelllang':  ['de_20'],
                    \ 'dictionary': ['~/.vim/spell/gerspchk.dict'],
                    \ 'thesaurus':  ['~/.vim/thesaurus/openthesaurus.txt'],
                    \ 'spellfile':  ['~/.vim/spell/de.utf-8.add'],
                    \ })

Hope everything is ready for a merge.

Bests

Matthias

reedes added a commit that referenced this pull request Feb 12, 2015
@reedes reedes merged commit 57b4f94 into preservim:master Feb 12, 2015
@reedes
Copy link
Collaborator

reedes commented Feb 12, 2015

That's a great addition. Thanks!

@wikimatze
Copy link
Contributor Author

Can you make a v1.1 release?

@reedes
Copy link
Collaborator

reedes commented Feb 12, 2015

Done

@wikimatze
Copy link
Contributor Author

Thanks again.

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.

2 participants