diff options
author | Alexander Heinrich <alxhnr@users.noreply.github.com> | 2020-09-17 13:31:55 +0200 |
---|---|---|
committer | Alexander Heinrich <alxhnr@users.noreply.github.com> | 2020-09-17 13:31:55 +0200 |
commit | 53efdedca97072f7463830d49f5d755801471c09 (patch) | |
tree | 57dac6f22e3d0abbad80d0284a644a470a97274c /runtime/autoload | |
parent | f34eeba2d85b4382d7504e1f3e12a7afb0788c1d (diff) | |
download | rneovim-53efdedca97072f7463830d49f5d755801471c09.tar.gz rneovim-53efdedca97072f7463830d49f5d755801471c09.tar.bz2 rneovim-53efdedca97072f7463830d49f5d755801471c09.zip |
runtime: update `g:spellfile_URL` to URL used in Vim 8
See vim/vim@7ff7846
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/spellfile.vim | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/runtime/autoload/spellfile.vim b/runtime/autoload/spellfile.vim index d098902305..e36e2f936b 100644 --- a/runtime/autoload/spellfile.vim +++ b/runtime/autoload/spellfile.vim @@ -1,13 +1,9 @@ " Vim script to download a missing spell file if !exists('g:spellfile_URL') - " Prefer using http:// when netrw should be able to use it, since - " more firewalls let this through. - if executable("curl") || executable("wget") || executable("fetch") - let g:spellfile_URL = 'http://ftp.vim.org/pub/vim/runtime/spell' - else - let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' - endif + " Always use https:// because it's secure. The certificate is for nluug.nl, + " thus we can't use the alias ftp.vim.org here. + let g:spellfile_URL = 'https://ftp.nluug.nl/pub/vim/runtime/spell' endif let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset. |