• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisiónf03c3fae0a99dd626469bdb66c0d7b9406e93a83 (tree)
Tiempo2006-08-30 05:31:34
Autorvimboss
Commitervimboss

Log Message

updated for version 7.0-076

Cambiar Resumen

Diferencia incremental

diff -r 8fafff87aedb -r f03c3fae0a99 runtime/autoload/spellfile.vim
--- a/runtime/autoload/spellfile.vim Tue Aug 29 19:55:53 2006 +0000
+++ b/runtime/autoload/spellfile.vim Tue Aug 29 20:31:34 2006 +0000
@@ -1,6 +1,6 @@
11 " Vim script to download a missing spell file
22 " Maintainer: Bram Moolenaar <Bram@vim.org>
3-" Last Change: 2006 May 10
3+" Last Change: 2006 Aug 29
44
55 if !exists('g:spellfile_URL')
66 let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
@@ -110,9 +110,14 @@
110110 endif
111111 endfunc
112112
113-" Read "fname" from the ftp server.
113+" Read "fname" from the server.
114114 function! spellfile#Nread(fname)
115- let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '')
116- let dir = substitute(g:spellfile_URL, 'ftp://[^/]*/\(.*\)', '\1', '')
117- exe 'Nread "' . machine . ' anonymous vim7user ' . dir . '/' . a:fname . '"'
115+ if g:spellfile_URL =~ '^ftp://'
116+ " for an ftp server use a default login and password to avoid a prompt
117+ let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '')
118+ let dir = substitute(g:spellfile_URL, 'ftp://[^/]*/\(.*\)', '\1', '')
119+ exe 'Nread "' . machine . ' anonymous vim7user ' . dir . '/' . a:fname . '"'
120+ else
121+ exe 'Nread ' g:spellfile_URL . '/' . a:fname
122+ endif
118123 endfunc
diff -r 8fafff87aedb -r f03c3fae0a99 src/version.c
--- a/src/version.c Tue Aug 29 19:55:53 2006 +0000
+++ b/src/version.c Tue Aug 29 20:31:34 2006 +0000
@@ -667,6 +667,8 @@
667667 static int included_patches[] =
668668 { /* Add new patch number below this line */
669669 /**/
670+ 76,
671+/**/
670672 75,
671673 /**/
672674 74,
Show on old repository browser