7

Say I am mixing English and German in my documents and have my spelllang variable set accordingly. How do I indicate, when I want to mark a word as good, to which spellfile it is to be added?

1
  • 6
    If you provide a list of spellfiles, zg takes a count to decide which spellfile to add to.
    – muru
    Feb 8 '16 at 20:22
3

The credits goes to @muru for this answer since his comment gave the solution 3 months ago. I write this answer to let users searching for this question know that it has a solution.

The variable spellfile may be a comma separated line of files. Those files are used to add "good words".

The command zg allows to add a "good word" to the files in spellfile. By default the good word will be added to the first entry of spellfile but when used with a count the command will add the word to the nth file listed in spellfile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.