mirror of
https://github.com/vim/vim.git
synced 2025-08-31 20:53:42 -04:00
updated for version 7.0178
This commit is contained in:
parent
86e01085a1
commit
c7486e034e
@ -1,7 +1,7 @@
|
|||||||
" zip.vim: Handles browsing zipfiles
|
" zip.vim: Handles browsing zipfiles
|
||||||
" AUTOLOAD PORTION
|
" AUTOLOAD PORTION
|
||||||
" Date: Nov 28, 2005
|
" Date: Dec 21, 2005
|
||||||
" Version: 5
|
" Version: 6
|
||||||
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
|
" Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz>
|
||||||
" License: Vim License (see vim's :help license)
|
" License: Vim License (see vim's :help license)
|
||||||
" Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1
|
" Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1
|
||||||
@ -22,7 +22,7 @@ if exists("g:loaded_zip")
|
|||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:loaded_zip= "v5"
|
let g:loaded_zip= "v6"
|
||||||
|
|
||||||
" ----------------
|
" ----------------
|
||||||
" Functions: {{{1
|
" Functions: {{{1
|
||||||
@ -198,16 +198,21 @@ fun! zip#Write(fname)
|
|||||||
|
|
||||||
let zipfile = substitute(a:fname,'zipfile:\(.\{-}\):.*$','\1','')
|
let zipfile = substitute(a:fname,'zipfile:\(.\{-}\):.*$','\1','')
|
||||||
let fname = substitute(a:fname,'zipfile:.\{-}:\(.*\)$','\1','')
|
let fname = substitute(a:fname,'zipfile:.\{-}:\(.*\)$','\1','')
|
||||||
|
|
||||||
|
if fname =~ '/'
|
||||||
let dirpath = substitute(fname,'/[^/]\+$','','e')
|
let dirpath = substitute(fname,'/[^/]\+$','','e')
|
||||||
|
if executable("cygpath")
|
||||||
|
let dirpath = substitute(system("cygpath ".dirpath),'\n','','e')
|
||||||
|
endif
|
||||||
|
call mkdir(dirpath,"p")
|
||||||
|
endif
|
||||||
if zipfile !~ '/'
|
if zipfile !~ '/'
|
||||||
let zipfile= curdir.'/'.zipfile
|
let zipfile= curdir.'/'.zipfile
|
||||||
endif
|
endif
|
||||||
" call Decho("zipfile<".zipfile."> fname<".fname.">")
|
" call Decho("zipfile<".zipfile."> fname<".fname.">")
|
||||||
|
|
||||||
call mkdir(dirpath,"p")
|
|
||||||
exe "w! ".fname
|
exe "w! ".fname
|
||||||
if executable("cygpath")
|
if executable("cygpath")
|
||||||
let dirpath = substitute(system("cygpath ".dirpath),'\n','','e')
|
|
||||||
let zipfile = substitute(system("cygpath ".zipfile),'\n','','e')
|
let zipfile = substitute(system("cygpath ".zipfile),'\n','','e')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Dec 13
|
*options.txt* For Vim version 7.0aa. Last change: 2005 Dec 29
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -1598,8 +1598,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the +eval
|
{not available when compiled without the +eval
|
||||||
or +insert_expand feature}
|
or +insert_expand feature}
|
||||||
This option specifies a function to be used for CTRL-X CTRL-U
|
This option specifies a function to be used for Insert mode completion
|
||||||
completion. |i_CTRL-X_CTRL-U|
|
with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U|
|
||||||
|
|
||||||
The function will be invoked with two arguments. First the function
|
The function will be invoked with two arguments. First the function
|
||||||
is called to find the start of the text to be completed. Secondly the
|
is called to find the start of the text to be completed. Secondly the
|
||||||
@ -4644,9 +4644,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{not available when compiled without the +eval
|
{not available when compiled without the +eval
|
||||||
or +insert_expand feature}
|
or +insert_expand feature}
|
||||||
This option specifies a function to be used for CTRL-X CTRL-O
|
This option specifies a function to be used for Insert mode omni
|
||||||
completion. |i_CTRL-X_CTRL-O|
|
completion with CTRL-X CTRL-O. |i_CTRL-X_CTRL-O|
|
||||||
|
|
||||||
For the use of the function see 'completefunc'.
|
For the use of the function see 'completefunc'.
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,5 +36,5 @@
|
|||||||
#define VIM_VERSION_NODOT "vim70aa"
|
#define VIM_VERSION_NODOT "vim70aa"
|
||||||
#define VIM_VERSION_SHORT "7.0aa"
|
#define VIM_VERSION_SHORT "7.0aa"
|
||||||
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
|
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
|
||||||
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 28)"
|
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 29)"
|
||||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 28, compiled "
|
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Dec 29, compiled "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user