From: Bram Moolenaar Date: Wed, 6 Jul 2005 22:35:45 +0000 (+0000) Subject: updated for version 7.0104 X-Git-Tag: v7.0104~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc27ac1c5ed0835c4e5ea22680d2f074c4689fa3;p=vim updated for version 7.0104 --- diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9eb1ba645..4a6142ce1 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -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'. diff --git a/runtime/doc/tags b/runtime/doc/tags index b7f8aa7d1..29e336c46 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -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* diff --git a/runtime/indent/vim.vim b/runtime/indent/vim.vim index 5f66571bc..0a6dbc17a 100644 --- a/runtime/indent/vim.vim +++ b/runtime/indent/vim.vim @@ -1,7 +1,7 @@ " Vim indent file " Language: Vim script " Maintainer: Bram Moolenaar -" 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 diff --git a/runtime/menu.vim b/runtime/menu.vim index a568fa16b..584af54b4 100644 --- a/runtime/menu.vim +++ b/runtime/menu.vim @@ -2,7 +2,7 @@ " You can also use this as a start for your own set of menus. " " Maintainer: Bram Moolenaar -" 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 an 40.335.120 &Tools.&Spelling.Spell\ Check\ &Off :set nospell an 40.335.130 &Tools.&Spelling.To\ &Next\ error]s ]s - an 40.335.130 &Tools.&Spelling.To\ &Pevious\ error[s [s + an 40.335.130 &Tools.&Spelling.To\ &Previous\ error[s [s an 40.335.140 &Tools.&Spelling.Suggest\ &Correctionsz? z? an 40.335.150 &Tools.&Spelling.&Repeat\ correction:spellrepall :spellrepall an 40.335.200 &Tools.&Spelling.-SEP1- diff --git a/runtime/spell/en.latin1.spl b/runtime/spell/en.latin1.spl index f92ba01c7..b759d2f16 100644 Binary files a/runtime/spell/en.latin1.spl and b/runtime/spell/en.latin1.spl differ diff --git a/src/version.h b/src/version.h index 5936c4e5a..708220466 100644 --- a/src/version.h +++ b/src/version.h @@ -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 "