# HG changeset patch # User Bram Moolenaar # Date 1265894355 -3600 # Node ID 4a1bcdd9ea559baa08883a6611d055ba5384add6 # Parent 8a0a8f10b43e02d44ff26d608cd80fb61ce4773d Updated runtime files. diff --git a/runtime/autoload/syntaxcomplete.vim b/runtime/autoload/syntaxcomplete.vim --- a/runtime/autoload/syntaxcomplete.vim +++ b/runtime/autoload/syntaxcomplete.vim @@ -1,10 +1,15 @@ " Vim completion script " Language: All languages, uses existing syntax highlighting rules -" Maintainer: David Fishburn -" Version: 4.0 -" Last Change: Fri 26 Oct 2007 05:27:03 PM Eastern Daylight Time +" Maintainer: David Fishburn +" Version: 5.0 +" Last Change: 2010 Jan 31 " Usage: For detailed help, ":help ft-syntax-omni" +" History +" Version 5.0 +" When processing a list of syntax groups, the final group +" was missed in function SyntaxCSyntaxGroupItems. +" " Set completion with CTRL-X CTRL-O to autoloaded function. " This check is in place in case this script is " sourced directly instead of using the autoload feature. @@ -312,9 +317,13 @@ function! s:SyntaxCSyntaxGroupItems( gro " \zs - start the match " .\{-} - everything ... " \ze - end the match + " \( - start a group or 2 potential matches " \n\w - at the first newline starting with a character + " \| - 2nd potential match + " \%$ - matches end of the file or string + " \) - end a group let syntax_group = matchstr(a:syntax_full, - \ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze'."\n".'\w' + \ "\n".a:group_name.'\s\+xxx\s\+\zs.\{-}\ze\(\n\w\|\%$\)' \ ) if syntax_group != "" diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.2. Last change: 2010 Jan 05 +*eval.txt* For Vim version 7.2. Last change: 2010 Jan 19 VIM REFERENCE MANUAL by Bram Moolenaar diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt --- a/runtime/doc/indent.txt +++ b/runtime/doc/indent.txt @@ -1,4 +1,4 @@ -*indent.txt* For Vim version 7.2. Last change: 2009 Nov 12 +*indent.txt* For Vim version 7.2. Last change: 2010 Jan 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -437,7 +437,7 @@ assume a 'shiftwidth' of 4. *N Vim searches for unclosed comments at most N lines away. This limits the time needed to search for the start of a comment. - (default 30 lines). + (default 70 lines). #N When N is non-zero recognize shell/Perl comments, starting with '#'. Default N is zero: don't recognizes '#' comments. Note diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -482,7 +482,7 @@ example: > {shellpipe} is the 'shellpipe' option. {errorfile} is the 'makeef' option, with ## replaced to make it unique. -The placeholder "$*" can be used for the argument list in {makeprog} if the +The placeholder "$*" can be used for the argument list in {makeprg} if the command needs some additional characters after its arguments. The $* is replaced then by all arguments. Example: > :set makeprg=latex\ \\\\nonstopmode\ \\\\input\\{$*} @@ -1212,7 +1212,7 @@ Maintaining the correct directory is mor GNU-make. AIX-make for example doesn't print any information about its working directory. Then you need to enhance the makefile. In the makefile of LessTif there is a command which echoes "Making {target} in {dir}". The -special problem here is that it doesn't print informations on leaving the +special problem here is that it doesn't print information on leaving the directory and that it doesn't print the absolute path. To solve the problem with relative paths and missing "leave directory" diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -340,7 +340,7 @@ a slash. Thus "-R" means recovery and " this to get 'compatible', even though a .vimrc file exists. Keep in mind that the command ":set nocompatible" in some plugin or startup script overrules this, so you may end up - with 'nocmpatible' anyway. To find out, use: > + with 'nocompatible' anyway. To find out, use: > :verbose set compatible? < Several plugins won't work with 'compatible' set. You may want to set it after startup this way: > diff --git a/runtime/doc/tags b/runtime/doc/tags --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -6486,11 +6486,13 @@ mysql ft_sql.txt /*mysql* mysyntaxfile syntax.txt /*mysyntaxfile* mysyntaxfile-add syntax.txt /*mysyntaxfile-add* mysyntaxfile-replace syntax.txt /*mysyntaxfile-replace* +mzeval() eval.txt /*mzeval()* mzscheme if_mzsch.txt /*mzscheme* mzscheme-buffer if_mzsch.txt /*mzscheme-buffer* mzscheme-commands if_mzsch.txt /*mzscheme-commands* mzscheme-dynamic if_mzsch.txt /*mzscheme-dynamic* mzscheme-examples if_mzsch.txt /*mzscheme-examples* +mzscheme-mzeval if_mzsch.txt /*mzscheme-mzeval* mzscheme-sandbox if_mzsch.txt /*mzscheme-sandbox* mzscheme-threads if_mzsch.txt /*mzscheme-threads* mzscheme-vim if_mzsch.txt /*mzscheme-vim* diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.2. Last change: 2010 Jan 14 +*todo.txt* For Vim version 7.2. Last change: 2010 Feb 09 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,49 +30,39 @@ be worked on, but only if you sponsor Vi *known-bugs* -------------------- Known bugs and current work ----------------------- -Patch from Dominique Pelle, documentation fixes. (2010 Jan 9) -Another patch for README files. - -Patch from Dominique Pelle for buffer reload when fixing spell mistake. -(2010 Jan 14) - -Extention for MzScheme interface. (Sergey Khorev, 2009 Dec 21, update Dec 26) - -patch from Sergey Khorev for "*" command escaping. (2010 Jan 5) - -Patch: :compiler command doesn't function properly when invoked in a function -(Yukihiro Nakadaira) +Patch for crash in netbeans on join command. (Xavier de Gaye, 2010 Feb 5) + +Patch for mzscheme docs. (Sergey Khorev, 2010 Jan 29) + +Patch to support netbeans in Unix console Vim. (Xavier de Gaye, 2009 Apr 26) +Now with Mercurial repository (2010 Jan 2) + +Warnings for Python 2.6.4. (Dominique Pelle, 2010 Jan 31) + +Patch for better fix for Win64. (Sergey Khorev, 2010 Feb 4) + +Patch for error messages. (Dominique Pelle, 2010 Feb 5) +Patch for visual-operators text (Dominique Pelle, 2010 Feb 6) + +Patch for Win64 MingW struct size. (Andy Kittner, 2010 Feb 7) + +Patch for Perl interface with Perl 5.10. (Sergey Khorev, 2010 Feb 5) + +Patch for xxd to support "-r -p" as documented. (James Vega, 2010 Feb 8) + +Win32: patch for cross compile xxd and GvimExt. (Markus Heidelberg, 2009 Mar +18) Also update INSTALLpc.txt? +Patch for xxd/Make_cyg.mak. (Chris Sutcliffe, 2009 Jun 10) Included in the +above? iconv() doesn't fail on an illegal character, as documented. (Yongwei Wu, 2009 Nov 15, example Nov 26) Add argument to specify whether iconv() should fail or replace with a character and continue? -Problem with window jumping to other screen when changing font. (patch by -Michael Wookey, 2009 Oct 16) -Better: if the window offset was negative before changing something, then -don't change it. - -Patch to make CTRL-] work on scheme keywords. (Sergey Khorev, 2010 Jan 5) - -Gcc warning for condition that can never be true, fold.c line 3242. (James -Vega, 2010 Jan 13) - -Omni menu position one column too far to the right, double-wide chars split to -next line. (Jiang Ma, 2010 Jan 10) -Explicit example from Dominique. -Need to check that the last character fits? -Patch from Dominique Pelle. (2010 Jan 12) One more (2010 Jan 12) - -has("win64") returns zero. Patch from Sergey Khorev, 2009 Jan 5. -Or define WIN64 when _WIN64 is defined, change all _WIN64 to WIN64. - Add local time at start of --startuptime output. Requires configure check for localtime(). Use format year-month-day hr:min:sec. -Patch to support netbeans in Unix console Vim. (Xaview de Gaye, 2009 Apr 26) -Now with Mercurial repository (2010 Jan 2) - Shell not recognized properly if it ends in "csh -f". (James Vega, 2009 Nov 3) Find tail? Might have a / in argument. Find space? Might have space in path. @@ -177,7 +167,7 @@ Problem with