From 4a630f6fc42e06f778da73d1a6ac3e1cb1ce6f20 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 27 Jun 2008 18:58:11 +0000 Subject: updated for version 7.2a-004 --- runtime/autoload/spellfile.vim | 10 ++++++++-- src/version.c | 2 ++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/runtime/autoload/spellfile.vim b/runtime/autoload/spellfile.vim index 1ca76a4ae..9979f1bd0 100644 --- a/runtime/autoload/spellfile.vim +++ b/runtime/autoload/spellfile.vim @@ -1,9 +1,15 @@ " Vim script to download a missing spell file " Maintainer: Bram Moolenaar -" Last Change: 2008 May 29 +" Last Change: 2008 Jun 27 if !exists('g:spellfile_URL') - let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' + " 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 endif let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset. diff --git a/src/version.c b/src/version.c index 61adb887b..18881a73c 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4, /**/ 3, /**/ -- cgit v1.2.1