mirror of
https://github.com/zoriya/vim.git
synced 2026-06-04 04:18:41 +00:00
updated for version 7.0d04
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
*diff.txt* For Vim version 7.0d. Last change: 2006 Apr 04
|
||||
*diff.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -206,7 +206,8 @@ The diffs are highlighted with these groups:
|
||||
(searching from the end of the line). The
|
||||
text in between is highlighted. This means
|
||||
that parts in the middle that are still the
|
||||
same are highlighted anyway.
|
||||
same are highlighted anyway. Only "iwhite" of
|
||||
'diffopt' is used here.
|
||||
|hl-DiffDelete| DiffDelete Deleted lines. Also called filler lines,
|
||||
because they don't really exist in this
|
||||
buffer.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0d. Last change: 2006 Apr 09
|
||||
*eval.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -198,6 +198,11 @@ available. >
|
||||
:let shortlist = mylist[2:2] " List with one item: [3]
|
||||
:let otherlist = mylist[:] " make a copy of the List
|
||||
|
||||
If the second index is equal to or greater than the length of the list there
|
||||
is no error and the length minus one is used: >
|
||||
:let mylist = [0, 1, 2, 3]
|
||||
:echo mylist[2:8] " result: [2, 3]
|
||||
|
||||
The second index can be just before the first index. In that case the result
|
||||
is an empty list. If the second index is lower, this results in an error. >
|
||||
:echo mylist[2:1] " result: []
|
||||
|
||||
+14
-2
@@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 7.0d. Last change: 2006 Mar 29
|
||||
*indent.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -33,7 +33,9 @@ There are in fact four methods available for indentation:
|
||||
The rest of this section describes the 'cindent' option.
|
||||
|
||||
Note that 'cindent' indenting does not work for every code scenario. Vim
|
||||
is not a C compiler: it does not recognize all syntax.
|
||||
is not a C compiler: it does not recognize all syntax. One requirement is
|
||||
that toplevel functions have a '{' in the first column. Otherwise they are
|
||||
easily confused with declarations.
|
||||
|
||||
These four options control C program indenting:
|
||||
'cindent' Enables Vim to perform C program indenting automatically.
|
||||
@@ -403,6 +405,16 @@ assume a 'shiftwidth' of 4.
|
||||
c1 && c2 c1 && c2
|
||||
) )
|
||||
foo; foo;
|
||||
<
|
||||
MN When N is non-zero, line up a line starting with a closing
|
||||
parentheses with the first character of the previous line.
|
||||
(default 0).
|
||||
|
||||
cino= cino=M1 >
|
||||
if (cond1 && if (cond1 &&
|
||||
cond2 cond2
|
||||
) )
|
||||
foo; foo;
|
||||
<
|
||||
*java-cinoptions* *java-indenting*
|
||||
jN Indent java anonymous classes correctly. The value 'N' is
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0d. Last change: 2006 Apr 11
|
||||
*insert.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -602,6 +602,9 @@ accept the currently selected entry. The CTRL-Y is not inserted. Typing a
|
||||
space, Enter, or some other unprintable character will leave completion mode
|
||||
and insert that typed character.
|
||||
|
||||
When the popup menu is displayed there are a few more special keys, see
|
||||
|popupmenu-keys|.
|
||||
|
||||
Note: The keys that are valid in CTRL-X mode are not mapped. This allows for
|
||||
":map ^F ^X^F" to work (where ^F is CTRL-F and ^X is CTRL-X). The key that
|
||||
ends CTRL-X mode (any key that is not a valid CTRL-X mode command) is mapped.
|
||||
|
||||
@@ -1447,6 +1447,10 @@ which is loaded automatically at startup (assuming :set nocp).
|
||||
==============================================================================
|
||||
11. History *netrw-history* {{{1
|
||||
|
||||
v88: * moved DrChip.Netrw menu to Netrw. Now has priority 80 by
|
||||
default. g:NetrwTopLvlMenu == "Netrw" and can be changed
|
||||
by the user to suit. The priority is g:NetrwMenuPriority.
|
||||
* Changed filetype for browser displays from netrwlist to netrw.
|
||||
v87: * bug fix -- menus were partially disappearing
|
||||
v85: * bug fix -- missing an endif
|
||||
* bug fix -- handles spaces in names and directories when using
|
||||
|
||||
+24
-1
@@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0d. Last change: 2006 Apr 06
|
||||
*syntax.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -1349,6 +1349,29 @@ Inform development environment, you may with to add this to your
|
||||
startup sequence: >
|
||||
:let inform_highlight_old=1
|
||||
|
||||
IDL *idl.vim* *idl-syntax*
|
||||
|
||||
IDL (Interface Definition Language) files are used to define RPC calls. In
|
||||
Microsoft land, this is also used for defining COM interfaces and calls.
|
||||
|
||||
IDL's structure is simple enough to permit a full grammar based approach to
|
||||
rather than using a few heuristics. The result is large and somewhat
|
||||
repetative but seems to work.
|
||||
|
||||
There are some Microsoft extensions to idl files that are here. Some of them
|
||||
are disabled by defining idl_no_ms_extensions.
|
||||
|
||||
The more complex of the extensions are disabled by defining idl_no_extensions.
|
||||
|
||||
Variable Effect ~
|
||||
|
||||
idl_no_ms_extensions Disable some of the Microsoft specific
|
||||
extensions
|
||||
idl_no_extensions Disable complex extensions
|
||||
idlsyntax_showerror Show IDL errors (can be rather intrusive, but
|
||||
quite helpful)
|
||||
idlsyntax_showerror_soft Use softer colours by default for errors
|
||||
|
||||
|
||||
JAVA *java.vim* *ft-java-syntax*
|
||||
|
||||
|
||||
@@ -5838,6 +5838,8 @@ iconize starting.txt /*iconize*
|
||||
iconv() eval.txt /*iconv()*
|
||||
iconv-dynamic mbyte.txt /*iconv-dynamic*
|
||||
ident-search tips.txt /*ident-search*
|
||||
idl-syntax syntax.txt /*idl-syntax*
|
||||
idl.vim syntax.txt /*idl.vim*
|
||||
if_cscop.txt if_cscop.txt /*if_cscop.txt*
|
||||
if_mzsch.txt if_mzsch.txt /*if_mzsch.txt*
|
||||
if_ole.txt if_ole.txt /*if_ole.txt*
|
||||
|
||||
+9
-42
@@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0d. Last change: 2006 Apr 13
|
||||
*todo.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -32,8 +32,6 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
|
||||
Do some of the 'cindent' bugs below.
|
||||
|
||||
Should a[:5] not give an error for a list with 4 items?
|
||||
|
||||
Add more tests for all new functionality in Vim 7. Especially new functions.
|
||||
|
||||
Win32: Describe how to do debugging. (George Reilly)
|
||||
@@ -47,7 +45,8 @@ Mac unicode patch (Da Woon Jung, Eckehard Berns):
|
||||
- With 'nopaste' pasting is wrong, with 'paste' Command-V doesn't work.
|
||||
(Alan Schmitt)
|
||||
|
||||
Darren is including the patch in ctags. Test it when it's ready.
|
||||
Darren Hiebert is including the patch for omni completion in ctags. A new
|
||||
version still isn't available for download.
|
||||
|
||||
|
||||
Awaiting updated patches:
|
||||
@@ -2238,29 +2237,6 @@ Insert mode:
|
||||
|
||||
|
||||
'cindent', 'smartindent':
|
||||
9 Too much indent for "lulu": (Uwe Zeisberger)
|
||||
int main ()
|
||||
{
|
||||
if (lala)
|
||||
do
|
||||
++(*lolo);
|
||||
while (lili
|
||||
&& lele);
|
||||
lulu;
|
||||
}
|
||||
9 Function gets extra indent: (Jamax)
|
||||
void function(int param) {
|
||||
if (false)
|
||||
return;
|
||||
}
|
||||
9 brace not indented correctly:
|
||||
case 'c': if (cond)
|
||||
{
|
||||
Should align with "if" in case statement.
|
||||
7 Allow aligning a closing ")" with the line above, instead of the matching
|
||||
"(": (Riehm) if (asdfasdf &&
|
||||
asdf
|
||||
)
|
||||
8 Java: Inside an anonymous class, after an "else" or "try" the indent is
|
||||
too small. (Vincent Bergbauer)
|
||||
8 In C++ it's possible to have {} inside (): (Kirshna)
|
||||
@@ -2270,18 +2246,12 @@ Insert mode:
|
||||
"asdf"
|
||||
}
|
||||
);
|
||||
7 Separate "(0" option into inside/outside a function (Zellner):
|
||||
7 Add separate "(0" option into inside/outside a function (Zellner):
|
||||
func(
|
||||
int x) // indent like "(4"
|
||||
{
|
||||
if (a
|
||||
&& b) // indent like "(0"
|
||||
8 Strange problem with this code, "hello" is indented wrong: (Gary Holloway)
|
||||
main() { char foo[] = "/*";
|
||||
/* This is a comment; the indentation of C
|
||||
* source below this comment gets messed up due to the string above.
|
||||
*/
|
||||
hello
|
||||
9 Using "{" in a comment: (Helmut Stiegler)
|
||||
if (a)
|
||||
{
|
||||
@@ -2290,9 +2260,9 @@ Insert mode:
|
||||
// {
|
||||
}
|
||||
} <-- this is indented incorrect
|
||||
9 Wrong indent for cino=(4, removing the (void) fixes it: (Zellner)
|
||||
(void) MyFancyFunction(
|
||||
argument);
|
||||
Problem is that find_start_brace() checks for the matching brace to be in
|
||||
a comment, but not braces in between. Requires adding a comment check to
|
||||
findmatchlimit().
|
||||
- Make smartindenting configurable. Add 'sioptions', e.g. '#' setting the
|
||||
indent to 0 should be switched on/off.
|
||||
7 Support ANSI style function header, with each argument on its own line.
|
||||
@@ -2323,9 +2293,8 @@ Insert mode:
|
||||
7 Use Tabs for the indent of starting lines, pad with spaces for
|
||||
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
|
||||
spaces used for indent, when the indent remains the same or increases.
|
||||
'keeptabs': when set don't change the tabs and spaces used for indent,
|
||||
when the indent remains the same or increases.
|
||||
|
||||
|
||||
Java:
|
||||
@@ -3184,8 +3153,6 @@ Various improvements:
|
||||
stack of previous directories. We also need ":cdnext".
|
||||
7 Should ":cd" for MS-DOS go to $HOME, when it's defined?
|
||||
- Make "gq<CR>" work on the last line in the file. Maybe for every operator?
|
||||
8 findmatchlimit() should be able to skip comments. Solves problem of
|
||||
matching the '{' in /* if (foo) { */ (Fiveash)
|
||||
- Add more redirecting of Ex commands:
|
||||
:redir #> bufname
|
||||
:redir #>> bufname (append)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0d. Last change: 2006 Apr 13
|
||||
*version7.txt* For Vim version 7.0d. Last change: 2006 Apr 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -242,8 +242,9 @@ Currently supported languages:
|
||||
C |ft-c-omni|
|
||||
(X)HTML with CSS |ft-html-omni|
|
||||
JavaScript |ft-javascript-omni|
|
||||
any language wih syntax highligting |ft-syntax-omni|
|
||||
Python
|
||||
XML |ft-xml-omni|
|
||||
any language wih syntax highligting |ft-syntax-omni|
|
||||
|
||||
When the 'completeopt' option contains "menu" then matches for Insert mode
|
||||
completion are displayed in a popup menu.
|
||||
@@ -2476,4 +2477,15 @@ typing a special key.
|
||||
|
||||
When 'foldignore' is set the folds were not updated right away.
|
||||
|
||||
When a list is indexed with [a : b] and b was greater than the length an error
|
||||
message was given. Now silently restrict to the length of the list.
|
||||
|
||||
When using BS during Insert mode completion go back to the original text, so
|
||||
that CTRL-N selects the first matching entry.
|
||||
|
||||
Added the 'm' flag to 'cinoptions'.
|
||||
|
||||
Win32: Make the "gvim --help" window appear in the middle of the screen
|
||||
instead of at an arbitrary position. (Randall W. Morris)
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user