# HG changeset patch # User vimboss # Date 1214593091 0 # Node ID e97a97d6a0eb98b21bd068283f192e0a2f2b1a89 # Parent 9c5a9e4356f8ef42ea2c177568b63bfbb1779bb0 updated for version 7.2a-004 diff --git a/runtime/autoload/spellfile.vim b/runtime/autoload/spellfile.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4, +/**/ 3, /**/ 2,