diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-06 22:35:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-06 22:35:45 +0000 |
commit | dc27ac1c5ed0835c4e5ea22680d2f074c4689fa3 (patch) | |
tree | 3960d34a46da738e7ccc677c63ad6d2178b4eeb8 | |
parent | bfb2006fd50775f6d4aedd49833140cdbcfbf918 (diff) |
updated for version 7.0104
-rw-r--r-- | runtime/doc/eval.txt | 4 | ||||
-rw-r--r-- | runtime/doc/tags | 1 | ||||
-rw-r--r-- | runtime/indent/vim.vim | 11 | ||||
-rw-r--r-- | runtime/menu.vim | 4 | ||||
-rw-r--r-- | runtime/spell/en.latin1.spl | bin | 651967 -> 568694 bytes | |||
-rw-r--r-- | src/version.h | 4 |
6 files changed, 14 insertions, 10 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 9eb1ba645d..4a6142ce1c 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 b7f8aa7d19..29e336c464 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 5f66571bc2..0a6dbc17ac 100644 --- a/runtime/indent/vim.vim +++ b/runtime/indent/vim.vim @@ -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 diff --git a/runtime/menu.vim b/runtime/menu.vim index a568fa16b2..584af54b4e 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 <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> diff --git a/runtime/spell/en.latin1.spl b/runtime/spell/en.latin1.spl Binary files differindex f92ba01c78..b759d2f16c 100644 --- a/runtime/spell/en.latin1.spl +++ b/runtime/spell/en.latin1.spl diff --git a/src/version.h b/src/version.h index 5936c4e5a8..7082204663 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 " |