updated for version 7.0166

This commit is contained in:
Bram Moolenaar
2005-12-10 20:23:46 +00:00
parent e5180526fd
commit cc016f5410
8 changed files with 103 additions and 92 deletions

View File

@ -1,4 +1,4 @@
*spell.txt* For Vim version 7.0aa. Last change: 2005 Nov 26
*spell.txt* For Vim version 7.0aa. Last change: 2005 Dec 09
VIM REFERENCE MANUAL by Bram Moolenaar
@ -124,8 +124,8 @@ is set.
Finding suggestions for bad words:
*z?*
z? For the word under/after the cursor suggest correctly
*z=*
z= For the word under/after the cursor suggest correctly
spelled words. This also works to find alternatives
for a word that is not highlighted as a bad word,
e.g., when the word after it is bad.
@ -143,7 +143,7 @@ z? For the word under/after the cursor suggest correctly
first line (the header) to cancel.
If a count is used that suggestion is used, without
prompting. For example, "1z?" always takes the first
prompting. For example, "1z=" always takes the first
suggestion.
If 'verbose' is non-zero a score will be displayed
@ -156,7 +156,7 @@ z? For the word under/after the cursor suggest correctly
and other languages without spaces between words.
*:spellr* *:spellrepall* *E752* *E753*
:spellr[epall] Repeat the replacement done by |z?| for all matches
:spellr[epall] Repeat the replacement done by |z=| for all matches
with the replaced word in the current window.
In Insert mode, when the cursor is after a badly spelled word, you can use
@ -1194,7 +1194,7 @@ white space is replaced by one space. Sequences of the same character in
SOFOFROM are replaced by one.
You can use the |soundfold()| function to try out the results. Or set the
'verbose' option to see the score in the output of the |z?| command.
'verbose' option to see the score in the output of the |z=| command.
vim:tw=78:sw=4:ts=8:ft=help:norl:

View File

@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.0aa. Last change: 2005 Dec 08
*todo.txt* For Vim version 7.0aa. Last change: 2005 Dec 10
VIM REFERENCE MANUAL by Bram Moolenaar
@ -30,8 +30,8 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
*known-bugs*
-------------------- Known bugs and current work -----------------------
Cygwin and Mac OS/X may preserve case for file names but ignore case
differences. Use Amiga code?
When a buffer has no name, ":w >>fname" uses "fname" for the buffer, that is
not logical.
SwapExists with editexisting plugin: Is there a simple way to detect ":tag
function" and have the remote Vim jump to the tag?
@ -86,9 +86,6 @@ ccomplete:
- page-up / page-down
spelling:
- "z?" was to be used for searching in folded text. Use something else for
suggestions. "z="?
- When a recognized word ends in a . don't have 'spellcapcheck" match it.
- Use KEEPCASE instead of "KEP". It applies to the word including affixes
Hunspell also uses it.
- Hunspell has NOSUGGEST flag (use for obscene words?)
@ -96,7 +93,6 @@ spelling:
- Look into hungarian dictionary:
http://magyarispell.sourceforge.net/rc3-beta2.zip
- Support breakpoint character <20> 0xb7 and ignore it?
- Dutch word list should be available here: http://www.woordenlijst.org/
8 Alternate Dutch word list at www.nederlandsewoorden.nl (use script to
obtain). But new Myspell wordlist will come (Hagen)
- Finding suggestions with sound folding is slow. Somehow store the
@ -1965,7 +1961,7 @@ Performance:
- highlighting "~/vim/test/longline.tex", "~/vim/test/scwoop.tcl" and
"~/vim/test/lockup.pl".
- loading a syntax file to highlight all words not from a dictionary.
- editing a vim script with syntax highlighting on (loading vim.vim).
- editing a Vim script with syntax highlighting on (loading vim.vim).
7 Screen updating can be further improved by only redrawing lines that were
changed (and lines after them, when syntax highlighting was used, and it
changed).
@ -2026,7 +2022,7 @@ Messages:
typing, error messages must be switched back on.
Also a flag to ignore error messages for shell commands (for mappings).
- Option to set time for emsg() sleep. Interrupt sleep when key is typed?
sleep before second message?
Sleep before second message?
8 In Ex silent mode or when reading commands from a file, what exactly is
not printed and what is? Check ":print", ":set all", ":args", ":vers",
etc. At least there should be no prompt. (Smulders) And don't clear the
@ -2620,7 +2616,7 @@ Insert mode:
continuation lines. Allows changing 'tabstop' without messing up the
indents.
And/or: Add option to copy indent as-is, without changing spaces to tabs.
also for 'autoindent'. 'keeptabs': when set don't change the tabs and
Also for 'autoindent'. 'keeptabs': when set don't change the tabs and
spaces used for indent, when the indent remains the same or increases.
@ -2703,7 +2699,7 @@ Visual mode:
behave like 'scrolloff' is one, so that the text scrolls when the pointer
is in the top line.
8 When using "I" or "A" in Visual block mode, short lines do not get the new
text. make it possible to add the text to short lines too, with padding
text. Make it possible to add the text to short lines too, with padding
where needed.
7 With a Visual block selected, "2x" deletes a block of double the width,
"3y" yanks a block of triple width, etc.

View File

@ -1,4 +1,4 @@
*version7.txt* For Vim version 7.0aa. Last change: 2005 Dec 07
*version7.txt* For Vim version 7.0aa. Last change: 2005 Dec 09
VIM REFERENCE MANUAL by Bram Moolenaar
@ -631,6 +631,10 @@ few more important commands. Used ideas from Gabriel Zachmann.
Unix: When libcall() fails obtain an error message with dlerror() and display
it. (Johannes Zellner)
Mac and Cygwin: When editing an existing file make the file name the same case
of the edited file. Thus when typing ":e os_UNIX.c" the file name becomes
"os_unix.c".
Added "nbsp" in 'listchars'. (David Blanchet)
Added the "acwrite" value for the 'buftype' option. This is for a buffer that

View File

@ -1,8 +1,8 @@
" Vim syntax file
" Language: TeX
" Maintainer: Dr. Charles E. Campbell, Jr. <NdrchipO@ScampbellPfamily.AbizM>
" Last Change: Sep 14, 2005
" Version: 30
" Last Change: Dec 07, 2005
" Version: 31
" URL: http://mysite.verizon.net/astronaut/vim/index.html#vimlinks_syntax
"
" Notes: {{{1
@ -394,10 +394,12 @@ endif
syn region texZone matchgroup=texStatement start="@samp{" end="}\|%stopzone\>" contains=@texRefGroup
syn region texRefZone matchgroup=texStatement start="\\nocite{" end="}\|%stopzone\>" contains=@texRefGroup
syn region texRefZone matchgroup=texStatement start="\\bibliography{" end="}\|%stopzone\>" contains=@texRefGroup
syn region texRefZone matchgroup=texStatement start="\\cite\([tp]\*\=\)\={" end="}\|%stopzone\>" contains=@texRefGroup
syn region texRefZone matchgroup=texStatement start="\\label{" end="}\|%stopzone\>" contains=@texRefGroup
syn region texRefZone matchgroup=texStatement start="\\\(page\|eq\)ref{" end="}\|%stopzone\>" contains=@texRefGroup
syn region texRefZone matchgroup=texStatement start="\\v\=ref{" end="}\|%stopzone\>" contains=@texRefGroup
syn match texRefZone '\\cite\%([tp]\*\=\)\=' nextgroup=texRefOption,texCite
syn region texRefOption contained matchgroup=Delimiter start='\[' end=']' contains=@texRefGroup nextgroup=texRefOption,texCite
syn region texCite contained matchgroup=Delimiter start='{' end='}' contains=@texRefGroup
" Handle newcommand, newenvironment : {{{1
syn match texNewCmd "\\newcommand\>" nextgroup=texCmdName skipwhite skipnl
@ -465,6 +467,7 @@ if did_tex_syntax_inits == 1
HiLink texError Error
endif
HiLink texCite texRefZone
HiLink texDefCmd texDef
HiLink texDefName texDef
HiLink texDocType texCmdName