summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2008-06-27 18:58:11 +0000
committervimboss <devnull@localhost>2008-06-27 18:58:11 +0000
commit2ae7488a1ad69e74f4b359b624abaeaee5b5e544 (patch)
tree2f91763dcc7fad12f90f039f5e0529e2a7a12ba3
parentc597c3f5d24b6ad16b7fe454f0f03d6e26a12ccb (diff)
downloadvim-2ae7488a1ad69e74f4b359b624abaeaee5b5e544.tar.gz
updated for version 7.2a-004v7.2a.004v7-2a-004
-rw-r--r--runtime/autoload/spellfile.vim10
-rw-r--r--src/version.c2
2 files changed, 10 insertions, 2 deletions
diff --git a/runtime/autoload/spellfile.vim b/runtime/autoload/spellfile.vim
index 1ca76a4a..9979f1bd 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 <Bram@vim.org>
-" 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 61adb887..18881a73 100644
--- 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,