summaryrefslogtreecommitdiffstats
path: root/runtime/doc
diff options
context:
space:
mode:
authorChristian Brabandt <cb@256bit.org>2024-04-29 20:36:49 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-29 20:36:49 +0200
commit652c821366691a8bd5474766581090df0c742fa1 (patch)
tree60cc03e56cd6295d85a52eb118312bf9d3ae7ac2 /runtime/doc
parentc4d0c8c81245918632a9d3c2c20a390546fad065 (diff)
patch 9.1.0381: cbuffer and similar commands don't accept a rangev9.1.0381
Problem: cbuffer and similar quickfix and locationlist commands don't accept a range, even so it is documented they should (ilan-schemoul, after 8.1.1241) Solution: Define ex commands with ADDR_LINES instead of ADDR_OTHER fixes: #14638 closes: #14657 Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/quickfix.txt20
1 files changed, 13 insertions, 7 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index e659d39508..f0c1d74d47 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 9.1. Last change: 2023 Apr 15
+*quickfix.txt* For Vim version 9.1. Last change: 2024 Apr 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -287,7 +287,8 @@ processing a quickfix or location list command, it will be aborted.
current window is used instead of the quickfix list.
*:cb* *:cbuffer* *E681*
-:cb[uffer][!] [bufnr] Read the error list from the current buffer.
+:[range]cb[uffer][!] [bufnr]
+ Read the error list from the current buffer.
When [bufnr] is given it must be the number of a
loaded buffer. That buffer will then be used instead
of the current buffer.
@@ -296,26 +297,31 @@ processing a quickfix or location list command, it will be aborted.
See |:cc| for [!].
*:lb* *:lbuffer*
-:lb[uffer][!] [bufnr] Same as ":cbuffer", except the location list for the
+:[range]lb[uffer][!] [bufnr]
+ Same as ":cbuffer", except the location list for the
current window is used instead of the quickfix list.
*:cgetb* *:cgetbuffer*
-:cgetb[uffer] [bufnr] Read the error list from the current buffer. Just
+:[range]cgetb[uffer] [bufnr]
+ Read the error list from the current buffer. Just
like ":cbuffer" but don't jump to the first error.
*:lgetb* *:lgetbuffer*
-:lgetb[uffer] [bufnr] Same as ":cgetbuffer", except the location list for
+:[range]lgetb[uffer] [bufnr]
+ Same as ":cgetbuffer", except the location list for
the current window is used instead of the quickfix
list.
*:cad* *:cadd* *:caddbuffer*
-:cad[dbuffer] [bufnr] Read the error list from the current buffer and add
+:[range]cad[dbuffer] [bufnr]
+ Read the error list from the current buffer and add
the errors to the current quickfix list. If a
quickfix list is not present, then a new list is
created. Otherwise, same as ":cbuffer".
*:laddb* *:laddbuffer*
-:laddb[uffer] [bufnr] Same as ":caddbuffer", except the location list for
+:[range]laddb[uffer] [bufnr]
+ Same as ":caddbuffer", except the location list for
the current window is used instead of the quickfix
list.