summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-19 22:16:24 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-19 22:16:24 +0000
commit8ada17c4d9d783b370d081c2a947ea1350cc8338 (patch)
tree47f3570cfefb2433a4dda01a32fb11316cf9f5bc /runtime
parent05a7bb363b6ae132b7f2550be1a588e481a5dfa3 (diff)
downloadvim-git-8ada17c4d9d783b370d081c2a947ea1350cc8338.tar.gz
updated for version 7.0182v7.0182
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt10
-rw-r--r--runtime/doc/starting.txt7
-rw-r--r--runtime/doc/syntax.txt9
-rw-r--r--runtime/doc/tags1
-rw-r--r--runtime/doc/todo.txt19
-rw-r--r--runtime/doc/version7.txt14
-rw-r--r--runtime/doc/windows.txt16
-rw-r--r--runtime/syntax/java.vim87
-rw-r--r--runtime/syntax/m4.vim10
9 files changed, 91 insertions, 82 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index c6535366d..16c36db2c 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1,4 +1,4 @@
-*options.txt* For Vim version 7.0aa. Last change: 2006 Jan 04
+*options.txt* For Vim version 7.0aa. Last change: 2006 Jan 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1982,11 +1982,11 @@ A jump table for the options with a short description can be found at |Q_op|.
C-indenting.
*cpo--*
- When included, a vertical movement command fails when
- it would above the first line or below the last line.
- Without it the cursor moves to the first or last line,
- unless it already was in that line.
+ it would go above the first line or below the last
+ line. Without it the cursor moves to the first or
+ last line, unless it already was in that line.
Applies to the commands "-", "k", CTRL-P, "+", "j",
- CTRL-N and CTRL-J.
+ CTRL-N, CTRL-J and ":1234".
*cpo-+*
+ When included, a ":write file" command will reset the
'modified' flag of the buffer, even though the buffer
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 55ca07351..1579e2141 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1,4 +1,4 @@
-*starting.txt* For Vim version 7.0aa. Last change: 2005 Dec 04
+*starting.txt* For Vim version 7.0aa. Last change: 2006 Jan 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -799,8 +799,9 @@ accordingly. Vim proceeds in this order:
- The |--noplugin| command line argument is used.
- The "-u NONE" command line argument is used |-u|.
- When Vim was compiled without the |+eval| feature.
- Note that using "-c set noloadplugins" doesn't work, because the
- commands from the command line have not been executed yet.
+ Note that using "-c 'set noloadplugins'" doesn't work, because the
+ commands from the command line have not been executed yet. You can
+ use "--cmd 'set noloadplugins'" |--cmd|.
5. Set 'shellpipe' and 'shellredir'
The 'shellpipe' and 'shellredir' options are set according to the
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 2ded3f2eb..4b27b68f7 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1,4 +1,4 @@
-*syntax.txt* For Vim version 7.0aa. Last change: 2005 Dec 31
+*syntax.txt* For Vim version 7.0aa. Last change: 2006 Jan 17
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1884,6 +1884,13 @@ If you want to fold blocks in if statements, etc. as well set the following: >
:let perl_fold_blocks = 1
+To avoid folding packages or subs when perl_fold is let, let the appropriate
+variable(s): >
+
+ :unlet perl_nofold_packages
+ :unlet perl_nofold_subs
+
+
PHP3 and PHP4 *php.vim* *php3.vim* *ft-php-syntax* *ft-php3-syntax*
diff --git a/runtime/doc/tags b/runtime/doc/tags
index b585a8b49..2174f20c6 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -5349,7 +5349,6 @@ hebrew hebrew.txt /*hebrew*
hebrew.txt hebrew.txt /*hebrew.txt*
help various.txt /*help*
help-context help.txt /*help-context*
-help-tags tags 1
help-translated various.txt /*help-translated*
help-xterm-window various.txt /*help-xterm-window*
help.txt help.txt /*help.txt*
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index 5de02e686..da95e6072 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt* For Vim version 7.0aa. Last change: 2006 Jan 14
+*todo.txt* For Vim version 7.0aa. Last change: 2006 Jan 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -30,12 +30,6 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
-When the file "" exists, then ":!ls aap<Tab>" should put backslashes before
-'&', ';', '<' and '>'.
-
-Evaluating CTRL-R = in the sandbox causes trouble (G. Sumner Hayes). Can the
-rules for the commandline window be used?
-
Evaluate 'balloonexpr' in the sandbox only when it was set from an unsafe
place (e.g., modeline)? Patch from Sumner Hayes, Jan 12. Also use for other
options?
@@ -43,6 +37,13 @@ options?
":saveas asdf.c" should set 'filetype' to c when it's empty. Also for ":w
asdf.c" when it sets the buffer filename.
+When ":cclose" is used the buffer is not wiped out and is no longer recognized
+as a quickfix buffer, thus it's not reused either.
+
+Patch to support lists and dicts for the Python interface. (G. Sumner Hayes,
+Jan 12). Docs in a previous patch.
+Use free_tv() instead of clear_tv() and vim_free().
+
ccomplete:
- When using page-up/page-down in menu it sometimes jumps more than a page.
- When an option is set: In completion mode and the user types (identifier)
@@ -125,10 +126,6 @@ global_event_filter() for GTK.
Is it easy to have an item in a pattern that matches with a mark location?
Similar to |/\%>l| and |/\%c|. (Benji Fisher)
-Patch to support lists and dicts for the Python interface. (G. Sumner Hayes,
-Jan 12). Docs in a previous patch.
-Use free_tv() instead of clear_tv() and vim_free().
-
Win32 installer: Default _vimrc contains absolute path to diff.exe. After
upgrading it becomes invalid. Fix it automatically somehow? Use $VIMRUNTIME
in the path instead of filling it the path? At least give a clear error
diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt
index 00830d98d..5743a7971 100644
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt* For Vim version 7.0aa. Last change: 2006 Jan 14
+*version7.txt* For Vim version 7.0aa. Last change: 2006 Jan 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1527,8 +1527,9 @@ When 'esckeys' is not set don't send the xterm code to request the version
string, because it may cause trouble in Insert mode.
When evaluating an expression for CTRL-R = on the command line it was possible
-to open a new window, resulting in errors for incremental search, and many
-other nasty things were possible. Now evaluate the expression in the sandbox
+to call a function that opens a new window, resulting in errors for
+incremental search, and many other nasty things were possible. Now set
+"cmdline_busy" and disallow changing the buffer or jumpting to another window
to protect from unexpected behavior. Same for CTRL-\ e.
"d(" deleted the character under the cursor, while the documentation specified
@@ -1566,4 +1567,11 @@ Added mf_set_dirty().
Expanding wildcards in a command like ":e aap;<>!" didn't work. Put
backslashes before characters that are special to the shell. (Adri Verhoef)
+A CursorHold autocommand would cause a message to be cleared. Don't show the
+special key for the event for 'showcmd'.
+
+When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r
+!cmd foo<Tab>" also escape characters that are special for the shell:
+"!;&()<>".
+
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index 8fd966619..6912808c0 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -1,4 +1,4 @@
-*windows.txt* For Vim version 7.0aa. Last change: 2005 Apr 01
+*windows.txt* For Vim version 7.0aa. Last change: 2006 Jan 19
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1100,18 +1100,18 @@ help Contains a help file. Will only be created with the |:help|
directory Displays directory contents. Can be used by a file explorer
plugin. The buffer is created with these settings: >
- :set buftype=nowrite
- :set bufhidden=delete
- :set noswapfile
+ :setlocal buftype=nowrite
+ :setlocal bufhidden=delete
+ :setlocal noswapfile
< The buffer name is the name of the directory and is adjusted
when using the |:cd| command.
scratch Contains text that can be discarded at any time. It is kept
when closing the window, it must be deleted explicitly.
Settings: >
- :set buftype=nofile
- :set bufhidden=hide
- :set noswapfile
+ :setlocal buftype=nofile
+ :setlocal bufhidden=hide
+ :setlocal noswapfile
< The buffer name can be used to identify the buffer.
*unlisted-buffer*
@@ -1119,7 +1119,7 @@ unlisted The buffer is not in the buffer list. It is not used for
normal editing, but to show a help file, remember a file name
or marks. The ":bdelete" command will also set this option,
thus it doesn't completely delete the buffer. Settings: >
- :set nobuflisted
+ :setlocal nobuflisted
<
vim:tw=78:ts=8:ft=help:norl:
diff --git a/runtime/syntax/java.vim b/runtime/syntax/java.vim
index c6363d9d8..0c250c643 100644
--- a/runtime/syntax/java.vim
+++ b/runtime/syntax/java.vim
@@ -2,7 +2,7 @@
" Language: Java
" Maintainer: Claudio Fleiner <claudio@fleiner.com>
" URL: http://www.fleiner.com/vim/syntax/java.vim
-" Last Change: 2005 Nov 04
+" Last Change: 2006 Jan 15
" Please check :help java.vim for comments on some of the options available.
@@ -65,48 +65,42 @@ syn match javaUserLabelRef "\k\+" contained
syn match javaVarArg "\.\.\."
syn keyword javaScopeDecl public protected private abstract
-if exists("java_highlight_java_lang_ids") || exists("java_highlight_java_lang") || exists("java_highlight_all")
+if exists("java_highlight_java_lang_ids")
+ let java_highlight_all=1
+endif
+if exists("java_highlight_all") || exists("java_highlight_java") || exists("java_highlight_java_lang")
" java.lang.*
syn match javaLangClass "\<System\>"
- syn keyword javaLangClass Cloneable Comparable Runnable Boolean Byte Class
- syn keyword javaLangClass Character CharSequence ClassLoader Compiler Double Float
- syn keyword javaLangClass Integer InheritableThreadLocal Long Math Number Object Package Process
- syn keyword javaLangClass Runtime RuntimePermission InheritableThreadLocal
- syn keyword javaLangClass SecurityManager Short String StrictMath StackTraceElement
- syn keyword javaLangClass StringBuffer Thread ThreadGroup
- syn keyword javaLangClass ThreadLocal Throwable Void ArithmeticException
- syn keyword javaLangClass ArrayIndexOutOfBoundsException AssertionError
- syn keyword javaLangClass ArrayStoreException ClassCastException
- syn keyword javaLangClass ClassNotFoundException
- syn keyword javaLangClass CloneNotSupportedException Exception
- syn keyword javaLangClass IllegalAccessException
- syn keyword javaLangClass IllegalArgumentException
- syn keyword javaLangClass IllegalMonitorStateException
- syn keyword javaLangClass IllegalStateException
- syn keyword javaLangClass IllegalThreadStateException
- syn keyword javaLangClass IndexOutOfBoundsException
- syn keyword javaLangClass InstantiationException InterruptedException
- syn keyword javaLangClass NegativeArraySizeException NoSuchFieldException
- syn keyword javaLangClass NoSuchMethodException NullPointerException
- syn keyword javaLangClass NumberFormatException RuntimeException
- syn keyword javaLangClass SecurityException StringIndexOutOfBoundsException
- syn keyword javaLangClass UnsupportedOperationException
- syn keyword javaLangClass AbstractMethodError ClassCircularityError
- syn keyword javaLangClass ClassFormatError Error ExceptionInInitializerError
- syn keyword javaLangClass IllegalAccessError InstantiationError
- syn keyword javaLangClass IncompatibleClassChangeError InternalError
- syn keyword javaLangClass LinkageError NoClassDefFoundError
- syn keyword javaLangClass NoSuchFieldError NoSuchMethodError
- syn keyword javaLangClass OutOfMemoryError StackOverflowError
- syn keyword javaLangClass ThreadDeath UnknownError UnsatisfiedLinkError
- syn keyword javaLangClass UnsupportedClassVersionError VerifyError
- syn keyword javaLangClass VirtualMachineError
+ syn keyword javaR_JavaLang NegativeArraySizeException ArrayStoreException IllegalStateException RuntimeException IndexOutOfBoundsException UnsupportedOperationException ArrayIndexOutOfBoundsException ArithmeticException ClassCastException EnumConstantNotPresentException StringIndexOutOfBoundsException IllegalArgumentException IllegalMonitorStateException IllegalThreadStateException NumberFormatException NullPointerException TypeNotPresentException SecurityException
+ syn cluster javaTop add=javaR_JavaLang
+ syn cluster javaClasses add=javaR_JavaLang
+ JavaHiLink javaR_JavaLang javaR_Java
+ syn keyword javaC_JavaLang Process RuntimePermission StringKeySet CharacterData01 Class ThreadLocal ThreadLocalMap CharacterData0E Package Character StringCoding Long ProcessImpl ProcessEnvironment Short AssertionStatusDirectives 1PackageInfoProxy UnicodeBlock InheritableThreadLocal AbstractStringBuilder StringEnvironment ClassLoader ConditionalSpecialCasing CharacterDataPrivateUse StringBuffer StringDecoder Entry StringEntry WrappedHook StringBuilder StrictMath State ThreadGroup Runtime CharacterData02 MethodArray Object CharacterDataUndefined Integer Gate Boolean Enum Variable Subset StringEncoder Void Terminator CharsetSD IntegerCache CharacterCache Byte CharsetSE Thread SystemClassLoaderAction CharacterDataLatin1 StringValues StackTraceElement Shutdown ShortCache String ConverterSD ByteCache Lock EnclosingMethodInfo Math Float Value Double SecurityManager LongCache ProcessBuilder StringEntrySet Compiler Number UNIXProcess ConverterSE ExternalData CaseInsensitiveComparator CharacterData00 NativeLibrary
+ syn cluster javaTop add=javaC_JavaLang
+ syn cluster javaClasses add=javaC_JavaLang
+ JavaHiLink javaC_JavaLang javaC_Java
+ syn keyword javaE_JavaLang IncompatibleClassChangeError InternalError UnknownError ClassCircularityError AssertionError ThreadDeath IllegalAccessError NoClassDefFoundError ClassFormatError UnsupportedClassVersionError NoSuchFieldError VerifyError ExceptionInInitializerError InstantiationError LinkageError NoSuchMethodError Error UnsatisfiedLinkError StackOverflowError AbstractMethodError VirtualMachineError OutOfMemoryError
+ syn cluster javaTop add=javaE_JavaLang
+ syn cluster javaClasses add=javaE_JavaLang
+ JavaHiLink javaE_JavaLang javaE_Java
+ syn keyword javaX_JavaLang CloneNotSupportedException Exception NoSuchMethodException IllegalAccessException NoSuchFieldException Throwable InterruptedException ClassNotFoundException InstantiationException
+ syn cluster javaTop add=javaX_JavaLang
+ syn cluster javaClasses add=javaX_JavaLang
+ JavaHiLink javaX_JavaLang javaX_Java
+
+ JavaHiLink javaR_Java javaR_
+ JavaHiLink javaC_Java javaC_
+ JavaHiLink javaE_Java javaE_
+ JavaHiLink javaX_Java javaX_
+ JavaHiLink javaX_ javaExceptions
+ JavaHiLink javaR_ javaExceptions
+ JavaHiLink javaE_ javaExceptions
+ JavaHiLink javaC_ javaConstant
+
syn keyword javaLangObject clone equals finalize getClass hashCode
syn keyword javaLangObject notify notifyAll toString wait
- JavaHiLink javaLangClass javaConstant
JavaHiLink javaLangObject javaConstant
- syn cluster javaTop add=javaLangObject,javaLangClass
- syn cluster javaClasses add=javaLangClass
+ syn cluster javaTop add=javaLangObject
endif
if filereadable(expand("<sfile>:p:h")."/javaid.vim")
@@ -162,13 +156,15 @@ if !exists("java_ignore_javadoc") && main_syntax != 'jsp'
" syntax coloring for javadoc comments (HTML)
syntax include @javaHtml <sfile>:p:h/html.vim
unlet b:current_syntax
- syn region javaDocComment start="/\*\*" end="\*/" keepend contains=javaCommentTitle,@javaHtml,javaDocTags,javaTodo,@Spell
- syn region javaCommentTitle contained matchgroup=javaDocComment start="/\*\*" matchgroup=javaCommentTitle keepend end="\.$" end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=@javaHtml,javaCommentStar,javaTodo,@Spell,javaDocTags
-
- syn region javaDocTags contained start="{@\(link\|linkplain\|inherit[Dd]oc\|doc[rR]oot\|value\)" end="}"
- syn match javaDocTags contained "@\(see\|param\|exception\|throws\|since\)\s\+\S\+" contains=javaDocParam
- syn match javaDocParam contained "\s\S\+"
- syn match javaDocTags contained "@\(version\|author\|return\|deprecated\|serial\|serialField\|serialData\)\>"
+ syn region javaDocComment start="/\*\*" end="\*/" keepend contains=javaCommentTitle,@javaHtml,javaDocTags,javaDocSeeTag,javaTodo,@Spell
+ syn region javaCommentTitle contained matchgroup=javaDocComment start="/\*\*" matchgroup=javaCommentTitle keepend end="\.$" end="\.[ \t\r<&]"me=e-1 end="[^{]@"me=s-2,he=s-1 end="\*/"me=s-1,he=s-1 contains=@javaHtml,javaCommentStar,javaTodo,@Spell,javaDocTags,javaDocSeeTag
+
+ syn region javaDocTags contained start="{@\(link\|linkplain\|inherit[Dd]oc\|doc[rR]oot\|value\)" end="}"
+ syn match javaDocTags contained "@\(param\|exception\|throws\|since\)\s\+\S\+" contains=javaDocParam
+ syn match javaDocParam contained "\s\S\+"
+ syn match javaDocTags contained "@\(version\|author\|return\|deprecated\|serial\|serialField\|serialData\)\>"
+ syn region javaDocSeeTag contained matchgroup=javaDocTags start="@see\s\+" matchgroup=NONE end="\_."re=e-1 contains=javaDocSeeTagParam
+ syn match javaDocSeeTagParam contained @"\_[^"]\+"\|<a\s\+\_.\{-}</a>\|\(\k\|\.\)*\(#\k\+\((\_[^)]\+)\)\=\)\=@ extend
syntax case match
endif
@@ -323,6 +319,7 @@ if version >= 508 || !exists("did_java_syn_inits")
JavaHiLink javaCommentTitle SpecialComment
JavaHiLink javaDocTags Special
JavaHiLink javaDocParam Function
+ JavaHiLink javaDocSeeTagParam Function
JavaHiLink javaCommentStar javaComment
JavaHiLink javaType Type
diff --git a/runtime/syntax/m4.vim b/runtime/syntax/m4.vim
index ef60a8ff7..ba7a294d1 100644
--- a/runtime/syntax/m4.vim
+++ b/runtime/syntax/m4.vim
@@ -1,8 +1,8 @@
" Vim syntax file
" Language: M4
-" Maintainer: Claudio Fleiner
+" Maintainer: Claudio Fleiner (claudio@fleiner.com)
" URL: http://www.fleiner.com/vim/syntax/m4.vim
-" Last Change: 2001 Apr 26
+" Last Change: 2005 Jan 15
" This file will highlight user function calls if they use only
" capital letters and have at least one argument (i.e. the '('
@@ -23,9 +23,9 @@ endif
" define the m4 syntax
syn match m4Variable contained "\$\d\+"
syn match m4Special contained "$[@*#]"
-syn match m4Comment "dnl\>.*" contains=SpellErrors
-syn match m4Constants "\(\<m4_\)\=__file__"
-syn match m4Constants "\(\<m4_\)\=__line__"
+syn match m4Comment "\<\(m4_\)\=dnl\>.*" contains=SpellErrors
+syn match m4Constants "\<\(m4_\)\=__file__"
+syn match m4Constants "\<\(m4_\)\=__line__"
syn keyword m4Constants divnum sysval m4_divnum m4_sysval
syn region m4Paren matchgroup=m4Delimiter start="(" end=")" contained contains=@m4Top
syn region m4Command matchgroup=m4Function start="\<\(m4_\)\=\(define\|defn\|pushdef\)(" end=")" contains=@m4Top