]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0214
authorBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2006 21:49:37 +0000 (21:49 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2006 21:49:37 +0000 (21:49 +0000)
runtime/doc/cmdline.txt
runtime/doc/develop.txt
runtime/doc/insert.txt
runtime/plugin/matchparen.vim
runtime/spell/cleanadd.vim
runtime/syntax/objc.vim

index 7a860a77f05b52a48104f96b8cdd4b7b53eaaa83..8a0f0a4a3ec0b22f782d32407518655161d7b34c 100644 (file)
@@ -1,4 +1,4 @@
-*cmdline.txt*   For Vim version 7.0aa.  Last change: 2006 Feb 01
+*cmdline.txt*   For Vim version 7.0aa.  Last change: 2006 Mar 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -970,6 +970,11 @@ that there will be an extra screen redraw.
 The buffer used for the command-line window is deleted.  Any changes to lines
 other than the one that is executed with <CR> are lost.
 
+If you would like to execute the command under the cursor and then have the
+command-line window open again, you may find this mapping useful: >
+
+       :map <F5> <CR>q:
+
 
 VARIOUS
 
index 4d12d166c057a609ddb770addf58548e8c3ca426..cf41477797375c76748082b00c7f12d5864ab100 100644 (file)
@@ -1,4 +1,4 @@
-*develop.txt*   For Vim version 7.0aa.  Last change: 2006 Jan 12
+*develop.txt*   For Vim version 7.0aa.  Last change: 2006 Mar 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -187,8 +187,8 @@ strchr()    vim_strchr()    Accepts special characters
 strrchr()      vim_strrchr()   Accepts special characters
 isspace()      vim_isspace()   Can handle characters > 128
 iswhite()      vim_iswhite()   Only TRUE for Tab and space
-memcpy()       vim_memmove()   Handles overlapped copies
-bcopy()                vim_memmove()   Handles overlapped copies
+memcpy()       mch_memmove()   Handles overlapped copies
+bcopy()                mch_memmove()   Handles overlapped copies
 memset()       vim_memset()    Uniform for all systems
 
 
index 0f4436c294d3c072fa04752e631c84ea75bc2731..7d904a819be7678c11adf2d10a64e2d49ce2a658 100644 (file)
@@ -1,4 +1,4 @@
-*insert.txt*    For Vim version 7.0aa.  Last change: 2006 Mar 02
+*insert.txt*    For Vim version 7.0aa.  Last change: 2006 Mar 04
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1142,9 +1142,9 @@ Completion of C code requires a tags file.  You should use Exuberant ctags,
 because it adds extra information that is needed for completion.  You can find
 it here: http://ctags.sourceforge.net/
 For version 5.5.4 you should add a patch that adds the "typename:" field:
-ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch
+       ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch
 A compiled .exe for MS-Windows can be found at:
-http://georgevreilly.com/vim/ctags.html
+       http://georgevreilly.com/vim/ctags.html
 
 If you want to complete system functions you can do something like this.  Use
 ctags to generate a tags file for all the system header files: >
index 0af2f95f11d78ba73846e57e928777a24aed48b4..c27cf5122d1d7037bc2a38c10ddb503a7a9a5bd8 100644 (file)
@@ -1,6 +1,6 @@
 " Vim plugin for showing matching parens
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2006 Mar 03
+" Last Change: 2006 Mar 04
 
 " Exit quickly when:
 " - this plugin was already loaded (or disabled)
@@ -32,6 +32,11 @@ function! s:Highlight_Matching_Pair()
     let s:paren_hl_on = 0
   endif
 
+  " Avoid that we remove the popup menu.
+  if pumvisible()
+    return
+  endif
+
   " Get the character under the cursor and check if it's in 'matchpairs'.
   let c_lnum = line('.')
   let c_col = col('.')
index 14eb83a110fc20f317d13ee2b72a4de9db329476..cb7620fbf550bc03734d089fdd7835a5dce7cb51 100644 (file)
@@ -3,17 +3,20 @@
 " Last Update: 2006 Jan 19
 
 " Time in seconds after last time an ll.xxxxx.add file was updated
-" Default is one hour.
+" Default is one second.
+" If you invoke this script often set it to something bigger, e.g. 60 * 60
+" (one hour)
 if !exists("g:spell_clean_limit")
-  let g:spell_clean_limit = 60 * 60
+  let g:spell_clean_limit = 1
 endif
 
 " Loop over all the runtime/spell/*.add files.
+" Delete all comment lines, except the ones starting with ##.
 for s:fname in split(globpath(&rtp, "spell/*.add"), "\n")
   if filewritable(s:fname) && localtime() - getftime(s:fname) > g:spell_clean_limit
-    silent exe "split " . escape(s:fname, ' \')
+    silent exe "tab split " . escape(s:fname, ' \')
     echo "Processing" s:fname
-    silent! g/^#/d
+    silent! g/^#[^#]/d
     silent update
     close
   endif
index 1c296ddbb742eb7f087ad354b309865224edd3d9..3aa1177b2b1a77f2b30d835115e06d74b653aed1 100644 (file)
@@ -3,7 +3,7 @@
 " Maintainer:      Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
 " Ex-maintainer:    Anthony Hodsdon <ahodsdon@fastmail.fm>
 " First Author:            Valentino Kyriakides <1kyriaki@informatik.uni-hamburg.de>
-" Last Change:     2005 Apr 13
+" Last Change:     2006 Mar 4
 
 " For version 5.x: Clear all syntax items
 " For version 6.x: Quit when a syntax file was already loaded
@@ -44,6 +44,7 @@ syn match  objcScopeDecl    "@public\|@private\|@protected"
 syn match  objcDirective    "@interface\|@implementation"
 syn match  objcDirective    "@class\|@end\|@defs"
 syn match  objcDirective    "@encode\|@protocol\|@selector"
+syn match  objcDirective    "@try\|@catch\|@finally\|@throw\|@synchronized"
 
 " Match the ObjC method types
 "