summaryrefslogtreecommitdiffstats
path: root/runtime/doc/quickfix.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-19 12:22:51 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-19 12:22:51 +0200
commit20f90cf99a156ba6fa93fc44047264685f210824 (patch)
tree230e40498e27cf023fff502634b81ce7618fb9e0 /runtime/doc/quickfix.txt
parent3a7d8c3adb80c26564fa2e25f0edda38c905c3a3 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/doc/quickfix.txt')
-rw-r--r--runtime/doc/quickfix.txt25
1 files changed, 13 insertions, 12 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index 1d05882bd6..22562d70ba 100644
--- a/runtime/doc/quickfix.txt
+++ b/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
@@ -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*