updated for version 7.0104
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jul 2005 22:35:45 +0000 (22:35 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jul 2005 22:35:45 +0000 (22:35 +0000)
runtime/doc/eval.txt
runtime/doc/tags
runtime/indent/vim.vim
runtime/menu.vim
runtime/spell/en.latin1.spl
src/version.h

index 9eb1ba645de1674aa98709f08760014d754ded3d..4a6142ce1cc59dd7e9f686d83b267bf873544c1b 100644 (file)
@@ -1,4 +1,4 @@
-*eval.txt*      For Vim version 7.0aa.  Last change: 2005 Jul 03
+*eval.txt*      For Vim version 7.0aa.  Last change: 2005 Jul 06
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -6470,7 +6470,7 @@ These items are not allowed in the sandbox:
 This is not guaranteed 100% secure, but it should block most attacks.
 
                                                        *:san* *:sandbox*
-:sandbox {cmd}         Execute {cmd} in the sandbox.  Useful to evaluate an
+:san[dbox] {cmd                Execute {cmd} in the sandbox.  Useful to evaluate an
                        option that may have been set from a modeline, e.g.
                        'foldexpr'.
 
index b7f8aa7d1936aa60c296f3985519c78f687e2896..29e336c464184c689122b7b15800b3accf51605a 100644 (file)
@@ -5148,7 +5148,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*
index 5f66571bc226530b057714bfe14b9967fa6efd02..0a6dbc17acbacac6d67bac0bbfcc895c89b76dc1 100644 (file)
@@ -1,7 +1,7 @@
 " Vim indent file
 " Language:    Vim script
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2005 Jun 16
+" Last Change: 2005 Jul 06
 
 " Only load this indent file when no other was loaded.
 if exists("b:did_indent")
@@ -52,8 +52,13 @@ function GetVimIndent()
 
   " If the previous line contains an "end" after a pipe, but not in an ":au"
   " command.  And not when there is a backslash before the pipe.
-  if getline(lnum) =~ '[^\\]|\s*\(ene\@!\)' && getline(lnum) !~ '^\s*au\%[tocmd]'
-    let ind = ind - &sw
+  " And when syntax HL is enabled avoid a match inside a string.
+  let line = getline(lnum)
+  let i = match(line, '[^\\]|\s*\(ene\@!\)')
+  if i > 0 && line !~ '^\s*au\%[tocmd]'
+    if !has('syntax_items') || synIDattr(synID(lnum, i + 2, 1), "name") !~ '\(Comment\|String\)$'
+      let ind = ind - &sw
+    endif
   endif
 
 
index a568fa16b21381cc60a2f37c854b4c105f50026a..584af54b4e431dd59295f19516f6dfffcc549329 100644 (file)
@@ -2,7 +2,7 @@
 " You can also use this as a start for your own set of menus.
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last Change: 2005 Jun 28
+" Last Change: 2005 Jul 06
 
 " 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.
@@ -412,7 +412,7 @@ if has("spell")
   an 40.335.110 &Tools.&Spelling.&Spell\ Check\ On             :set spell<CR>
   an 40.335.120 &Tools.&Spelling.Spell\ Check\ &Off            :set nospell<CR>
   an 40.335.130 &Tools.&Spelling.To\ &Next\ error<Tab>]s       ]s
-  an 40.335.130 &Tools.&Spelling.To\ &Pevious\ error<Tab>[s    [s
+  an 40.335.130 &Tools.&Spelling.To\ &Previous\ error<Tab>[s   [s
   an 40.335.140 &Tools.&Spelling.Suggest\ &Corrections<Tab>z?  z?
   an 40.335.150 &Tools.&Spelling.&Repeat\ correction<Tab>:spellrepall  :spellrepall<CR>
   an 40.335.200 &Tools.&Spelling.-SEP1-                                <Nop>
index f92ba01c78da11915c58832f23a135265e04d31f..b759d2f16c0341b7559ac652f4f805d837c507f3 100644 (file)
Binary files a/runtime/spell/en.latin1.spl and b/runtime/spell/en.latin1.spl differ
index 5936c4e5a81eb1a667cc5ac4399e393ed512d8ad..7082204663f662be69ecf1c4c0a86f759354de56 100644 (file)
@@ -36,5 +36,5 @@
 #define VIM_VERSION_NODOT      "vim70aa"
 #define VIM_VERSION_SHORT      "7.0aa"
 #define VIM_VERSION_MEDIUM     "7.0aa ALPHA"
-#define VIM_VERSION_LONG       "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 5)"
-#define VIM_VERSION_LONG_DATE  "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 5, compiled "
+#define VIM_VERSION_LONG       "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 6)"
+#define VIM_VERSION_LONG_DATE  "VIM - Vi IMproved 7.0aa ALPHA (2005 Jul 6, compiled "