At the moment I'm writing a document where I need to use a lot of acronyms, technical language, and non German words.
Now I was wondering if I could create a spelling file (tech_speak
) which checks for this technical language so I can use the following vim command
:set spelllang=de,tech_speak spell
How could this be done?
Best Answer
The
'spellfile'
option is what you're looking for:Note: Avoid special characters like
_
; as it separates the region name in Vim.You can then add your custom words to it with
zg
. You don't even need to add anything to'spelllang'
; those additions will be considered automatically.