commit 5da2a4b59a118a9485e8a3574ce077d2630f8002
parent 619b9a8fd4a566a0fcf4a234e90b56c213c87a73
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon, 2 Feb 2026 07:05:34 +0800
vim-patch:079700e: runtime(doc): Improve the description at :help :cwindow (#37661)
Describe the "height" argument when opening the quickfix window.
See: vim/vim#19302 ("[cl]window" has different behaviour from "[cl]open" about
their argument [height])
related: vim/vim#19302
closes: vim/vim#19305
https://github.com/vim/vim/commit/079700ee45a0b838321ad1b15d13c36049d2a273
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
@@ -649,6 +649,10 @@ can go back to the unfiltered list using the |:colder|/|:lolder| command.
errors. If the window is already open and there are
no recognized errors, close the window.
+ When opening the window and [height] is given, the
+ window becomes that high (if there is room). When
+ [height] is omitted the window is made ten lines high.
+
*:lw* *:lwindow*
:lw[indow] [height] Same as ":cwindow", except use the window showing the
location list for the current window.