changeset 2072:4a1bcdd9ea55

Updated runtime files.
author Bram Moolenaar <bram@zimbu.org>
date Thu, 11 Feb 2010 14:19:15 +0100
parents 8a0a8f10b43e
children 5bedef935ce3
files runtime/autoload/syntaxcomplete.vim runtime/doc/eval.txt runtime/doc/indent.txt runtime/doc/quickfix.txt runtime/doc/starting.txt runtime/doc/tags runtime/doc/todo.txt runtime/doc/version6.txt runtime/doc/version7.txt runtime/syntax/indent.vim runtime/syntax/lilo.vim runtime/syntax/rst.vim runtime/syntax/zsh.vim
diffstat 13 files changed, 67 insertions(+), 66 deletions(-) [+]
line wrap: on
line diff
--- 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 <dfishburn.vim@gmail.com>
-" Version:     4.0
-" Last Change: Fri 26 Oct 2007 05:27:03 PM Eastern Daylight Time
+" Maintainer:  David Fishburn <dfishburn dot vim at gmail dot com>
+" 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 != ""
--- 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
--- 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
--- 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"
--- 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: >
--- 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*
--- 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 <script> mappings (Andy Wok
 
 Patch to support netbeans for Mac. (Kazuki Sakamoto, 2009 Jun 25)
 
-Patch to support clibpoard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
+Patch to support clipboard for Mac terminal. (Jjgod Jiang, 2009 Aug 1)
 
 When starting Vim with "gvim -f -u non_existent_file > foo.txt" there are a
 few control characters in the output. (Dale Wiles, 2009 May 28)
@@ -191,6 +181,7 @@ J.  Wang, 2009 Mar 31)
 Patch for vertical line at certain column position, 'guidecolumn' option.
 (Pankaj Garg, 2009 Apr 14, aka Lone, Apr 15)
 Update 2009 May 2, 'margincolumn'
+Alternative patch. (2010 Feb 2, Gregor Uhlenheuer)
 
 Add different highlighting for a fold line depending on the fold level.
 Patch. (Noel Henson, 2009 Sep 13)
@@ -258,11 +249,6 @@ Kondakoff, 2009 May 13)
 
 Win32 GUI: Changing manifest helps for dpi changes (Joe Castro, 2009 Mar 27)
 
-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?
-
 Win32: patch for better font scaling. (George Reilly, 2009 Mar 26)
 
 Win32 GUI: last message from startup doesn't show up when there is an echoerr
@@ -856,6 +842,9 @@ When 'backupskip' is set from $TEMP spec
 Another problem is that file_pat_to_reg_pat() doesn't recognize "\\", so "\\(" 
 will be seen as a path separator plus "\(".
 
+gvim d:\path\path\(FILE).xml should not remove the \ before the (.
+This also fails with --remote.
+
 When doing ":quit" the Netbeans "killed" event isn't sent.  (Xavier de Gaye,
 2008 Nov 10)  call netbeans_file_closed() at the end of buf_freeall(), or in
 all places where buf_freeall() is called?
@@ -920,7 +909,7 @@ Win32: When 'autochdir' is on and 'encod
 line are opened again, but from the wrong directory.  Apply 'autochdir' only
 after starting up?
 
-When showing a diff between a non-existant file and an existing one, with the
+When showing a diff between a non-existent file and an existing one, with the
 cursor in the empty buffer, the other buffer only shows the last line.  Change
 the "insert" into a change from one line to many? (Yakov Lerner, 2008 May 27)
 
@@ -1046,7 +1035,7 @@ visible.
 GTK: when setting 'columns' in a startup script and doing ":vertical diffsplit"
 the window isn't redrawn properly, see two vertical bars.
 
-GTK: file choser is disabled.  Patch by Tim Starling, 2009 Nov 13.
+GTK: file chooser is disabled.  Patch by Tim Starling, 2009 Nov 13.
 
 The magic clipboard format "VimClipboard2" appears in several places.  Should
 be only one.
@@ -2315,7 +2304,7 @@ Spell checking:
     Is COMPLEXPREFIXES necessary when we have flags for affixes?
 -   Support spelling words in CamelCase as if they were two separate words.
     Requires some option to enable it. (Timothy Knox)
--   There is no Finnish spell checking file.  For openoffic Voikko is now
+-   There is no Finnish spell checking file.  For openoffice Voikko is now
     used, which is based on Malaga: http://home.arcor.de/bjoern-beutel/malaga/
     (Teemu Likonen)
 8   ":mkspell" still takes much too long in Hungarian dictionary from
--- a/runtime/doc/version6.txt
+++ b/runtime/doc/version6.txt
@@ -11170,7 +11170,7 @@ Files:	    runtime/doc/help.txt, runtime
 	    runtime/menu.vim, src/version.c
 
 Patch 6.2.192
-Problem:    Using CTRL-T and CTRL-D with "gR" messes up the text.  (Jonahtan
+Problem:    Using CTRL-T and CTRL-D with "gR" messes up the text.  (Jonathan
 	    Hankins)
 Solution:   Avoid calling change_indent() recursively.
 Files:	    src/edit.c
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -4734,7 +4734,7 @@ New keymap files:
 Other new runtime files:
 	Esperanto menu and message translations. (Dominique Pelle)
 	Finnish menu and message translations. (Flammie Pirinen)
-	Brazilian Portugese message translations. (Eduardo Dobay)
+	Brazilian Portuguese message translations. (Eduardo Dobay)
 
 Added floating point support. |Float|
 
@@ -4925,7 +4925,7 @@ Files:	    src/fileio.c, src/os_unix.h
 
 Patch 7.1.028
 Problem:    Can't use last search pattern for ":sort". (Brian McKee)
-Solution:   When the pattern is emtpy use the last search pattern. (Martin
+Solution:   When the pattern is empty use the last search pattern. (Martin
 	    Toft)
 Files:	    runtime/doc/change.txt, src/ex_cmds.c
 
@@ -5463,7 +5463,7 @@ Solution:   Remove the replacement with 
 Files:	    src/screen.c
 
 Patch 7.1.117
-Problem:    Can't check wether Vim was compiled with Gnome. (Tony Mechelynck)
+Problem:    Can't check whether Vim was compiled with Gnome. (Tony Mechelynck)
 Solution:   Add gui_gnome to the has() list.
 Files:	    src/eval.c
 
--- a/runtime/syntax/indent.vim
+++ b/runtime/syntax/indent.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:         indent(1) configuration file
 " Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2007-06-17
+" Latest Revision:  2010-01-23
 "   indent_is_bsd:  If exists, will change somewhat to match BSD implementation
 "
 " TODO: is the deny-all (a la lilo.vim nice or no?)...
@@ -27,7 +27,7 @@ syn region  indentComment start='//' ski
                           \ contains=indentTodo,@Spell
 
 if !exists("indent_is_bsd")
-  syn match indentOptions '-i\|--indentation-level'
+  syn match indentOptions '-i\|--indentation-level\|-il\|--indent-level'
                         \ nextgroup=indentNumber skipwhite skipempty
 endif
 syn match   indentOptions '-\%(bli\|c\%([bl]i\|[dip]\)\=\|di\=\|ip\=\|lc\=\|pp\=i\|sbi\|ts\|-\%(brace-indent\|comment-indentation\|case-brace-indentation\|declaration-comment-column\|continuation-indentation\|case-indentation\|else-endif-column\|line-comments-indentation\|declaration-indentation\|indent-level\|parameter-indentation\|line-length\|comment-line-length\|paren-indentation\|preprocessor-indentation\|struct-brace-indentation\|tab-size\)\)'
@@ -123,6 +123,7 @@ syn keyword indentOptions -bacc --blank-
                         \ -ut --use-tabs
                         \ -v --verbose
                         \ -version --version
+                        \ -linux --linux-style
 
 if exists("indent_is_bsd")
   syn keyword indentOptions -ip -ei -nei
--- a/runtime/syntax/lilo.vim
+++ b/runtime/syntax/lilo.vim
@@ -1,8 +1,8 @@
 " Vim syntax file
 " Language: lilo configuration (lilo.conf)
-" Maintainer: help wanted!
+" Maintainer: Niels Horn <niels.horn@gmail.com>
 " Previous Maintainer: David Necas (Yeti) <yeti@physics.muni.cz>
-" Last Change: 2009-01-27
+" Last Change: 2010-02-03
 
 " Setup
 if version >= 600
--- a/runtime/syntax/rst.vim
+++ b/runtime/syntax/rst.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:         reStructuredText documentation format
 " Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2009-05-25
+" Latest Revision:  2010-01-23
 
 if exists("b:current_syntax")
   finish
@@ -137,7 +137,7 @@ syn match   rstStandaloneHyperlink  cont
 
 " TODO: Use better syncing.  I don’t know the specifics of syncing well enough,
 " though.
-syn sync minlines=50
+syn sync minlines=50 linebreaks=1
 
 hi def link rstTodo                         Todo
 hi def link rstComment                      Comment
--- a/runtime/syntax/zsh.vim
+++ b/runtime/syntax/zsh.vim
@@ -1,7 +1,7 @@
 " Vim syntax file
 " Language:         Zsh shell script
 " Maintainer:       Nikolai Weibull <now@bitwi.se>
-" Latest Revision:  2008-07-17
+" Latest Revision:  2010-01-23
 
 if exists("b:current_syntax")
   finish
@@ -14,7 +14,7 @@ setlocal iskeyword+=-
 
 syn keyword zshTodo             contained TODO FIXME XXX NOTE
 
-syn region  zshComment          display oneline start='\%(^\|\s\)#' end='$'
+syn region  zshComment          oneline start='\%(^\|\s\)#' end='$'
                                 \ contains=zshTodo,@Spell
 
 syn match   zshPreProc          '^\%1l#\%(!\|compdef\|autoload\).*$'