Problem specification
I would love to have a medical spell dictionary in vim
.
Currently, I have a lot of medical terms in my own personal English dictionary right now. However, using an official medical dictionary would be a superior solution.
What I tried
So I tried adding the following to my vimrc
:
set spelllang=en_us,nl,medical
This line of code comes directly from the vim documentation.
It is findable under :help spl
. (vim
version 8.1).
I restarted vim and I got a message that it was not installed.
To resolve this, I ran :set spell
to interactively down the spelling files.
No luck on that:
:set spell
Cannot find spell file for "medical" in utf-8
Do you want me to try downloading it? Y
Downloading medical.utf-8.spl...
:!curl 'http://ftp.vim.org/pub/vim/runtime/spell/medical.utf-8.spl' -L -o '/tmp/vYgP5zs/4.spl'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
"/tmp/vYgP5zs/4.spl" 9 lines, 314 character
Could not find it, trying medical.ascii.spl...
:!curl 'http://ftp.vim.org/pub/vim/runtime/spell/medical.ascii.spl' -L -o '/tmp/vYgP5zs/4.spl'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
"/tmp/vYgP5zs/4.spl" 9 lines, 314 character
Sorry, downloading failed
Warning: Cannot find word list "medical.utf-8.spl" or "medical.ascii.spl"
So I tried searching the relevant ftp.vim.org link, and indeed there are not listed there.
What is an alternative route to installing these medical spelling files?
:mkspell
to create the files.