diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-10 22:00:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-10 22:00:53 +0200 |
commit | 7ff78465f7057a672a6de0d75d56286da253501b (patch) | |
tree | e35e18d5462fab10968567970cb14cfe92a82bb7 /runtime/autoload | |
parent | a7eedf317a806fceec1ddd8f9bebed6e00be0ed2 (diff) | |
download | vim-git-7ff78465f7057a672a6de0d75d56286da253501b.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/autoload')
-rw-r--r-- | runtime/autoload/spellfile.vim | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/runtime/autoload/spellfile.vim b/runtime/autoload/spellfile.vim index 886fd5393..6f9b1e0e0 100644 --- a/runtime/autoload/spellfile.vim +++ b/runtime/autoload/spellfile.vim @@ -1,15 +1,11 @@ " Vim script to download a missing spell file " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2012 Jan 08 +" Last Change: 2020 Jul 10 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. |