Skip to content

Commit

Permalink
Updated runtime files.
Browse files Browse the repository at this point in the history
  • Loading branch information
brammool committed May 19, 2011
1 parent 254777b commit 436044e
Show file tree
Hide file tree
Showing 12 changed files with 718 additions and 95 deletions.
12 changes: 6 additions & 6 deletions runtime/doc/change.txt
@@ -1,4 +1,4 @@
*change.txt* For Vim version 7.3. Last change: 2011 May 10
*change.txt* For Vim version 7.3. Last change: 2011 May 17


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -522,11 +522,11 @@ comment (starting with '"') after the ":!" command.
={motion} Filter {motion} lines through the external program
given with the 'equalprg' option. When the 'equalprg'
option is empty (this is the default), use the
internal formatting function |C-indenting|. But when
'indentexpr' is not empty, it will be used instead
|indent-expression|. When Vim was compiled without
internal formatting then the "indent" program is used
as a last resort.
internal formatting function |C-indenting| and
|'lisp'|. But when 'indentexpr' is not empty, it will
be used instead |indent-expression|. When Vim was
compiled without internal formatting then the "indent"
program is used as a last resort.

*==*
== Filter [count] lines like with ={motion}.
Expand Down
7 changes: 6 additions & 1 deletion runtime/doc/eval.txt
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 7.3. Last change: 2011 May 10
*eval.txt* For Vim version 7.3. Last change: 2011 May 17


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -4076,6 +4076,7 @@ match({expr}, {pat}[, {start}[, {count}]]) *match()*
{pat} matches.
A match at the first character or |List| item returns zero.
If there is no match -1 is returned.
For getting submatches see |matchlist()|.
Example: >
:echo match("testing", "ing") " results in 4
:echo match([1, 'x'], '\a') " results in 1
Expand Down Expand Up @@ -5581,6 +5582,10 @@ substitute({expr}, {pat}, {sub}, {flags}) *substitute()*
< This removes the last component of the 'path' option. >
:echo substitute("testing", ".*", "\\U\\0", "")
< results in "TESTING".
The {sub} argument can start with \=, just like with
|:substitute|. Example: >
:echo substitute(s, '%\(\x\x\)',
\ '\=nr2char("0x" . submatch(1))', 'g')
synID({lnum}, {col}, {trans}) *synID()*
The result is a Number, which is the syntax ID at the position
Expand Down
8 changes: 5 additions & 3 deletions runtime/doc/intro.txt
@@ -1,4 +1,4 @@
*intro.txt* For Vim version 7.3. Last change: 2010 Dec 08
*intro.txt* For Vim version 7.3. Last change: 2011 May 15


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -135,8 +135,10 @@ http://www.vim.org/maillist.php

Bug reports: *bugs* *bug-reports* *bugreport.vim*

Send bug reports to: Vim bugs <bugs@vim.org>
This is not a maillist but the message is redirected to the Vim maintainer.
Send bug reports to: Vim Developers <vim_dev@vim.org>
This is a maillist, many people will see the message. If you don't want that,
e.g. because it is a security issue, send it to <bugs@vim.org>, this only goes
to the Vim maintainer (that's Bram).
Please be brief; all the time that is spent on answering mail is subtracted
from the time that is spent on improving Vim! Always give a reproducible
example and try to find out which settings or other things influence the
Expand Down
5 changes: 3 additions & 2 deletions runtime/doc/options.txt
@@ -1,4 +1,4 @@
*options.txt* For Vim version 7.3. Last change: 2011 Apr 29
*options.txt* For Vim version 7.3. Last change: 2011 May 17


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -4104,7 +4104,8 @@ A jump table for the options with a short description can be found at |Q_op|.
It is used when a new line is created, for the |=| operator and
in Insert mode as specified with the 'indentkeys' option.
When this option is not empty, it overrules the 'cindent' and
'smartindent' indenting.
'smartindent' indenting. When 'lisp' is set, this option is
overridden by the Lisp indentation algorithm.
When 'paste' is set this option is not used for indenting.
The expression is evaluated with |v:lnum| set to the line number for
which the indent is to be computed. The cursor is also in this line
Expand Down
25 changes: 13 additions & 12 deletions runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
*quickfix.txt* For Vim version 7.3. Last change: 2011 Feb 01
*quickfix.txt* For Vim version 7.3. Last change: 2011 May 10


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -215,28 +215,29 @@ command with 'l'.

*:cex* *:cexpr* *E777*
:cex[pr][!] {expr} Create a quickfix list using the result of {expr} and
jump to the first error. If {expr} is a String, then
each new-line terminated line in the String is
processed using 'errorformat' and the result is added
to the quickfix list. If {expr} is a List, then each
String item in the list is processed and added to the
quickfix list. Non String items in the List are
ignored. See |:cc|
for [!].
jump to the first error.
If {expr} is a String, then each new-line terminated
line in the String is processed using the global value
of 'errorformat' and the result is added to the
quickfix list.
If {expr} is a List, then each String item in the list
is processed and added to the quickfix list. Non
String items in the List are ignored.
See |:cc| for [!].
Examples: >
:cexpr system('grep -n xyz *')
:cexpr getline(1, '$')
<
*:lex* *:lexpr*
:lex[pr][!] {expr} Same as ":cexpr", except the location list for the
:lex[pr][!] {expr} Same as |:cexpr|, except the location list for the
current window is used instead of the quickfix list.

*:cgete* *:cgetexpr*
:cgete[xpr] {expr} Create a quickfix list using the result of {expr}.
Just like ":cexpr", but don't jump to the first error.
Just like |:cexpr|, but don't jump to the first error.

*:lgete* *:lgetexpr*
:lgete[xpr] {expr} Same as ":cgetexpr", except the location list for the
:lgete[xpr] {expr} Same as |:cgetexpr|, except the location list for the
current window is used instead of the quickfix list.

*:cad* *:caddexpr*
Expand Down
40 changes: 29 additions & 11 deletions runtime/doc/todo.txt
@@ -1,4 +1,4 @@
*todo.txt* For Vim version 7.3. Last change: 2011 May 10
*todo.txt* For Vim version 7.3. Last change: 2011 May 19


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -32,6 +32,9 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.

Go through more coverity reports.

Hong Xu: I think src/Make_ro.mak should also be removed.
Two patches 2011 May 15

Crash in autocomplete, valgrind log. (Greg Weber, 2011 Apr 22)

Ex command ":s/ \?/ /g" splits multi-byte characters into bytes. (Dominique
Expand All @@ -50,6 +53,10 @@ Karkat, 2011 Jan 16)

Patch to add 'cscoperelative'. (Raghavendra Prabhu, 2011 Apr 18)

9 "} else" causes following lines to be indented too much. (Rouben
Rostamian, 2008 Aug 30)
Patch by Lech Lorens, 2011 May 16, with more tests.

New syntax file for dnsmasq. (Thilo Six, 2011 Apr 18)

Discussion about canonicalization of Hebrew. (Ron Aaron, 2011 April 10)
Expand All @@ -71,6 +78,8 @@ Lepa, 2011 Jan 18)

Patch to support ":!start /b cmd". (Xaizek, 2010 Dec 22)

Patch for syntax "extend" not working correctly. (Ben Schmidt, 2011 May 15)

Patch to build with GTK on Mac. (Ben Schmidt, 2011 Jan 18)
Use another name instead of FEAT_GUI_ELSEWHERE.

Expand All @@ -87,6 +96,8 @@ Patch for Python 3 support. (lilydjwg, 2011 Feb 24)
Patch to make putting from clipboard linewise when the text ends in a newline.
(Sung Pae) Do we want this?

Patch to add third dict argument to sort(). (ZyX, 2011 May 15)

Building the MingW version without clipboard but with multi-byte doesn't
work. (Bill Lam, 2010 Sep 18)

Expand Down Expand Up @@ -132,6 +143,10 @@ problems, even though double quotes are used. (Manuel Stol, 2011 Mar 9)

Patch to change the meaning of \n in substitute(). (motoya kurotsu, 2011 Mar 8)

Gui menu edit/paste in block mode insert only inserts in one line (Bjorn
Winckler, 2011 May 11)
Use function to set paste option and restore it, use CTRL-R+ to paste.

Help file foldexpr (ZyX)

Syntax region with 'concealends' and a 'cchar' value, 'conceallevel' set to 2,
Expand Down Expand Up @@ -163,6 +178,7 @@ Patch by Christian Brabandt, 2011 May 6.

CursorHold repeats typed key when it's the start of a mapping.
(Will Gray, 2011 Mar 23)
Christian Brabandt: problem is that OP_PENDING isn't set.

Windows keys not set properly on Windows 7? (cncyber, 2010 Aug 26)

Expand Down Expand Up @@ -323,9 +339,6 @@ mkdir().
When 'paste' is changed with 'pastetoggle', the ruler doesn't reflect this
right away. (Samuel Ferencik, 2010 Dec 7)

Windows installer: licence text should not use indent, causes bad word wrap.
(Benjamin Fritz, 2010 Aug 16)

Mac with X11: clipboard doesn't work properly. (Raf, 2010 Aug 16)

Using CompilerSet doesn't record where an option was set from. E.g., in the
Expand Down Expand Up @@ -368,11 +381,6 @@ Can 'undolevels' be a buffer-local option? Helps for making big changes in
one file only, set 'ul' to -1 only for that buffer.
Patch by Christian Brabandt, 2010 Dec 17. Needs test.

Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone
makes his own wrapper). Add a magic string with the version number to the
.bat file and check for it in the uninstaller. E.g.
# uninstall key: vim7.3*

Problem with cursor in the wrong column. (SungHyun Nam, 2010 Mar 11)
Additional info by Dominique Pelle. (also on 2010 Apr 10)

Expand Down Expand Up @@ -992,6 +1000,9 @@ Jun 3)
However, for backwards compatibility escaping might be necessary. Check if
the user put quotes around the expanded item?

A throw in a function causes missing an endif below the call. (Spiros
Bousbouras, 2011 May 16)

Error E324 can be given when a cron script has wiped out our temp directory.
Give a clear error message about this (and tell them not to wipe out /tmp).

Expand All @@ -1011,10 +1022,19 @@ go to Insert mode and add a few lines. Then backspacing every other time
moves the cursor instead of deleting. (Chris Kaiser, 2007 Sep 25)

Patch to use Modern UI 2.0 for the Nsis installer. (Guopeng Wen, 2010 Jul 30)
Latest version: 2011 May 18
8 Windows install with NSIS: make it possible to do a silent install, see
http://nsis.sourceforge.net/Docs/Chapter4.html#4.12
Version from Guopeng Wen that does this (2010 Dec 27)

Windows installer: licence text should not use indent, causes bad word wrap.
(Benjamin Fritz, 2010 Aug 16)

Dos uninstal may delete vim.bat from the wrong directory (e.g., when someone
makes his own wrapper). Add a magic string with the version number to the
.bat file and check for it in the uninstaller. E.g.
# uninstall key: vim7.3*

Changes for Win32 makefile. (Mike Williams, 2007 Jan 22, Alexei Alexandrov,
2007 Feb 8)

Expand Down Expand Up @@ -3801,8 +3821,6 @@ Insert mode:


'cindent', 'smartindent':
9 "} else" causes following lines to be indented too much. (Rouben
Rostamian, 2008 Aug 30)
9 Wrapping a variable initialization should have extra indent:
char * veryLongName =
"very long string"
Expand Down
4 changes: 2 additions & 2 deletions runtime/filetype.vim
@@ -1,7 +1,7 @@
" Vim support file to detect file types
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2011 Apr 28
" Last Change: 2011 May 19

" Listen very carefully, I will say this only once
if exists("did_load_filetypes")
Expand Down Expand Up @@ -556,7 +556,7 @@ au BufNewFile,BufRead */etc/apt/sources.list.d/*.list setf debsources
au BufNewFile,BufRead denyhosts.conf setf denyhosts

" dnsmasq(8) configuration files
au BufNewFile,BufRead dnsmasq.conf setf dnsmasq
au BufNewFile,BufRead */etc/dnsmasq.conf setf dnsmasq

" ROCKLinux package description
au BufNewFile,BufRead *.desc setf desc
Expand Down

0 comments on commit 436044e

Please sign in to comment.