From 5da2a4b59a118a9485e8a3574ce077d2630f8002 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 2 Feb 2026 07:05:34 +0800 Subject: [PATCH] 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 --- runtime/doc/quickfix.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 9b9c1d8424..7d307d41b6 100644 --- 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.