mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0113
This commit is contained in:
parent
63b3ce8757
commit
d8c0087cce
@ -1,4 +1,4 @@
|
|||||||
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
|
*eval.txt* For Vim version 7.0aa. Last change: 2005 Jul 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -4091,7 +4091,8 @@ system({expr} [, {input}]) *system()* *E677*
|
|||||||
|
|
||||||
taglist({expr}) *taglist()*
|
taglist({expr}) *taglist()*
|
||||||
Returns a list of tags matching the regular expression {expr}.
|
Returns a list of tags matching the regular expression {expr}.
|
||||||
Each list item is a dictionary with the following entries:
|
Each list item is a dictionary with at least the following
|
||||||
|
entries:
|
||||||
name name of the tag.
|
name name of the tag.
|
||||||
filename name of the file where the tag is
|
filename name of the file where the tag is
|
||||||
defined.
|
defined.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 21
|
*options.txt* For Vim version 7.0aa. Last change: 2005 Jul 22
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -657,12 +657,14 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
{not in Vi}
|
{not in Vi}
|
||||||
{only available when compiled with the
|
{only available when compiled with the
|
||||||
|+netbeans_intg| or |+sun_workshop| feature}
|
|+netbeans_intg| or |+sun_workshop| feature}
|
||||||
When on, Vim will change its value for the current working directory
|
When on, Vim will change the current working directory whenever you
|
||||||
whenever you open a file, switch buffers, delete a buffer or
|
open a file, switch buffers, delete a buffer or open/close a window.
|
||||||
open/close a window. It will change to the directory containing the
|
It will change to the directory containing the file which was opened
|
||||||
file which was opened or selected. This option is provided for
|
or selected.
|
||||||
backward compatibility with the Vim released with Sun ONE Studio 4
|
This option is provided for backward compatibility with the Vim
|
||||||
Enterprise Edition.
|
released with Sun ONE Studio 4 Enterprise Edition.
|
||||||
|
Note: When this option is on some plugins may not work. The directory
|
||||||
|
browser sets if off.
|
||||||
|
|
||||||
*'arabic'* *'arab'* *'noarabic'* *'noarab'*
|
*'arabic'* *'arab'* *'noarabic'* *'noarab'*
|
||||||
'arabic' 'arab' boolean (default off)
|
'arabic' 'arab' boolean (default off)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
" You can also use this as a start for your own set of menus.
|
" You can also use this as a start for your own set of menus.
|
||||||
"
|
"
|
||||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
" Last Change: 2005 Jul 21
|
" Last Change: 2005 Jul 22
|
||||||
|
|
||||||
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
|
||||||
" in all modes and avoid side effects from mappings defined by the user.
|
" in all modes and avoid side effects from mappings defined by the user.
|
||||||
@ -880,6 +880,9 @@ if has("spell")
|
|||||||
if exists("s:changeitem") && s:changeitem != ''
|
if exists("s:changeitem") && s:changeitem != ''
|
||||||
call <SID>SpellDel()
|
call <SID>SpellDel()
|
||||||
endif
|
endif
|
||||||
|
if !&spell || &spelllang == ''
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
|
||||||
let curcol = col('.')
|
let curcol = col('.')
|
||||||
let w = spellbadword()
|
let w = spellbadword()
|
||||||
|
@ -1839,12 +1839,8 @@ fun! <SID>NetMakeDir(usrhost)
|
|||||||
" call Dret("NetMakeDir : file<".newdirname."> exists previously")
|
" call Dret("NetMakeDir : file<".newdirname."> exists previously")
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
let netrw_origdir= s:NetGetcwd(1)
|
" call Decho("exe silent! !".g:netrw_local_mkdir.' "'.fullnewdir.'"')
|
||||||
exe 'cd '.b:netrw_curdir
|
exe "silent! !".g:netrw_local_mkdir.' "'.fullnewdir.'"'
|
||||||
" call Decho("netrw_origdir<".netrw_origdir."> b:netrw_curdir<".b:netrw_curdir.">")
|
|
||||||
" call Decho("exe silent! !".g:netrw_local_mkdir.' "'.newdirname.'"')
|
|
||||||
exe "silent! !".g:netrw_local_mkdir.' "'.newdirname.'"'
|
|
||||||
if g:netrw_keepdir | exe 'keepjumps cd '.netrw_origdir | endif
|
|
||||||
|
|
||||||
if v:shell_error == 0
|
if v:shell_error == 0
|
||||||
" refresh listing
|
" refresh listing
|
||||||
@ -2008,12 +2004,22 @@ fun! <SID>LocalBrowse(dirname)
|
|||||||
|
|
||||||
" record and change current directory
|
" record and change current directory
|
||||||
let netrw_origdir= s:NetGetcwd(1)
|
let netrw_origdir= s:NetGetcwd(1)
|
||||||
|
try
|
||||||
|
cd -
|
||||||
|
let netrw_altdir= s:NetGetcwd(1)
|
||||||
|
cd -
|
||||||
|
catch
|
||||||
|
let netrw_altdir= ''
|
||||||
|
endtry
|
||||||
exe 'cd '.escape(substitute(a:dirname,'\\','/','ge'),s:netrw_cd_escape)
|
exe 'cd '.escape(substitute(a:dirname,'\\','/','ge'),s:netrw_cd_escape)
|
||||||
" call Decho("dirname<".a:dirname."> buf#".bufnr("%")." winnr=".winnr())
|
" call Decho("dirname<".a:dirname."> buf#".bufnr("%")." winnr=".winnr())
|
||||||
|
|
||||||
" make this buffer modifiable
|
" make this buffer modifiable
|
||||||
setlocal ma
|
setlocal ma
|
||||||
|
|
||||||
|
" disable 'autochdir', it breaks things
|
||||||
|
set noautochdir
|
||||||
|
|
||||||
" ---------------------------
|
" ---------------------------
|
||||||
" Perform Directory Listing:
|
" Perform Directory Listing:
|
||||||
" call Decho("Perform directory listing...")
|
" call Decho("Perform directory listing...")
|
||||||
@ -2044,7 +2050,12 @@ fun! <SID>LocalBrowse(dirname)
|
|||||||
if a:dirname != "." && line("$") >= 5 && exists("b:netrw_curdir")
|
if a:dirname != "." && line("$") >= 5 && exists("b:netrw_curdir")
|
||||||
if b:netrw_curdir == dirname
|
if b:netrw_curdir == dirname
|
||||||
" call Dret("LocalBrowse : buffer already exists with info, #".dirnamenr)
|
" call Dret("LocalBrowse : buffer already exists with info, #".dirnamenr)
|
||||||
if g:netrw_keepdir | exe 'keepjumps cd '.netrw_origdir | endif
|
if g:netrw_keepdir
|
||||||
|
if netrw_altdir != ''
|
||||||
|
exe 'keepjumps cd '.netrw_altdir
|
||||||
|
endif
|
||||||
|
exe 'keepjumps cd '.netrw_origdir
|
||||||
|
endif
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -2056,7 +2067,6 @@ fun! <SID>LocalBrowse(dirname)
|
|||||||
if curdir != dirname
|
if curdir != dirname
|
||||||
" set standard browser options on buffer
|
" set standard browser options on buffer
|
||||||
setlocal bt=nofile bh=hide nobl noswf
|
setlocal bt=nofile bh=hide nobl noswf
|
||||||
exe "setlocal ts=".g:netrw_maxfilenamelen
|
|
||||||
exe 'silent file '.escape(dirname,s:netrw_cd_escape)
|
exe 'silent file '.escape(dirname,s:netrw_cd_escape)
|
||||||
" call Decho("errmsg1<".v:errmsg.">")
|
" call Decho("errmsg1<".v:errmsg.">")
|
||||||
" call Decho("renamed buffer to<".escape(dirname,s:netrw_cd_escape).">")
|
" call Decho("renamed buffer to<".escape(dirname,s:netrw_cd_escape).">")
|
||||||
@ -2067,12 +2077,13 @@ fun! <SID>LocalBrowse(dirname)
|
|||||||
silent! enew!
|
silent! enew!
|
||||||
" set standard browser options on buffer
|
" set standard browser options on buffer
|
||||||
setlocal bt=nofile bh=hide nobl noswf nonu
|
setlocal bt=nofile bh=hide nobl noswf nonu
|
||||||
exe "setlocal ts=".g:netrw_maxfilenamelen
|
|
||||||
exe 'silent file '.substitute(escape(dirname,s:netrw_cd_escape),'[\/]$','','e')
|
exe 'silent file '.substitute(escape(dirname,s:netrw_cd_escape),'[\/]$','','e')
|
||||||
" call Decho("errmsg2<".v:errmsg.">")
|
" call Decho("errmsg2<".v:errmsg.">")
|
||||||
" call Decho("renamed buffer to<".substitute(escape(dirname,s:netrw_cd_escape),'[\/]$','','e').">")
|
" call Decho("renamed buffer to<".substitute(escape(dirname,s:netrw_cd_escape),'[\/]$','','e').">")
|
||||||
" call Decho("yielding actual bufname<".bufname("%").">")
|
" call Decho("yielding actual bufname<".bufname("%").">")
|
||||||
endif
|
endif
|
||||||
|
exe "setlocal ts=".g:netrw_maxfilenamelen
|
||||||
|
|
||||||
if bufname("#") == "" && bufnr("#") != -1
|
if bufname("#") == "" && bufnr("#") != -1
|
||||||
" the file command produces a lot of [No File] buffers
|
" the file command produces a lot of [No File] buffers
|
||||||
" call Decho("wiping out nofile buffer#".bufnr("#"))
|
" call Decho("wiping out nofile buffer#".bufnr("#"))
|
||||||
@ -2182,7 +2193,12 @@ fun! <SID>LocalBrowse(dirname)
|
|||||||
exe s:netrw_bannercnt
|
exe s:netrw_bannercnt
|
||||||
|
|
||||||
setlocal noma nomod nonu
|
setlocal noma nomod nonu
|
||||||
if g:netrw_keepdir | exe 'keepjumps cd '.netrw_origdir | endif
|
if g:netrw_keepdir
|
||||||
|
if netrw_altdir != ''
|
||||||
|
exe 'keepjumps cd '.netrw_altdir
|
||||||
|
endif
|
||||||
|
exe 'keepjumps cd '.netrw_origdir
|
||||||
|
endif
|
||||||
|
|
||||||
" call Dret("LocalBrowse : file<".expand("%:p")."> bufname<".bufname("%").">")
|
" call Dret("LocalBrowse : file<".expand("%:p")."> bufname<".bufname("%").">")
|
||||||
endfun
|
endfun
|
||||||
@ -2330,8 +2346,6 @@ fun! <SID>LocalBrowseRm(path) range
|
|||||||
" preparation for removing multiple files/directories
|
" preparation for removing multiple files/directories
|
||||||
let ctr = a:firstline
|
let ctr = a:firstline
|
||||||
let ret = 0
|
let ret = 0
|
||||||
let netrw_origdir = s:NetGetcwd(1)
|
|
||||||
exe 'cd '.b:netrw_curdir
|
|
||||||
let all= 0
|
let all= 0
|
||||||
|
|
||||||
" remove multiple files and directories
|
" remove multiple files and directories
|
||||||
@ -2423,7 +2437,6 @@ fun! <SID>LocalBrowseRm(path) range
|
|||||||
|
|
||||||
" refresh the directory
|
" refresh the directory
|
||||||
let curline= line(".")
|
let curline= line(".")
|
||||||
if g:netrw_keepdir | exe 'keepjumps cd '.netrw_origdir | endif
|
|
||||||
" call Decho("refresh the directory")
|
" call Decho("refresh the directory")
|
||||||
call <SID>LocalBrowse(<SID>LocalBrowseChgDir(b:netrw_curdir,'./'))
|
call <SID>LocalBrowse(<SID>LocalBrowseChgDir(b:netrw_curdir,'./'))
|
||||||
exe curline
|
exe curline
|
||||||
|
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@ -1029,7 +1029,7 @@ gives unlimited permission to copy, distribute and modify it.
|
|||||||
_ACEOF
|
_ACEOF
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
exec 5>auto/config.log
|
exec 5>config.log
|
||||||
cat >&5 <<_ACEOF
|
cat >&5 <<_ACEOF
|
||||||
This file contains any messages produced by compilers while
|
This file contains any messages produced by compilers while
|
||||||
running configure, to aid debugging if configure makes a mistake.
|
running configure, to aid debugging if configure makes a mistake.
|
||||||
@ -16404,7 +16404,7 @@ exec 6>&1
|
|||||||
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
||||||
# report actual input values of CONFIG_FILES etc. instead of their
|
# report actual input values of CONFIG_FILES etc. instead of their
|
||||||
# values after options handling. Logging --version etc. is OK.
|
# values after options handling. Logging --version etc. is OK.
|
||||||
exec 5>>auto/config.log
|
exec 5>>config.log
|
||||||
{
|
{
|
||||||
echo
|
echo
|
||||||
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
||||||
@ -17244,7 +17244,7 @@ if test "$no_create" != yes; then
|
|||||||
ac_config_status_args="$ac_config_status_args --quiet"
|
ac_config_status_args="$ac_config_status_args --quiet"
|
||||||
exec 5>/dev/null
|
exec 5>/dev/null
|
||||||
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
||||||
exec 5>>auto/config.log
|
exec 5>>config.log
|
||||||
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
||||||
# would make configure fail if this is the last instruction.
|
# would make configure fail if this is the last instruction.
|
||||||
$ac_cs_success || { (exit 1); exit 1; }
|
$ac_cs_success || { (exit 1); exit 1; }
|
||||||
|
@ -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 Jul 21)"
|
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 22)"
|
||||||
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 21, compiled "
|
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 22, compiled "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user