1
0
forked from aniani/vim

patch 8.2.3254: win_gettype() does not recognize a quickfix window

Problem:    win_gettype() does not recognize a quickfix window.
Solution:   Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)
This commit is contained in:
Yegappan Lakshmanan
2021-07-31 12:43:23 +02:00
committed by Bram Moolenaar
parent 890ee4e2be
commit 28d8421bfb
5 changed files with 32 additions and 5 deletions

View File

@@ -11661,10 +11661,12 @@ win_gettype([{nr}]) *win_gettype()*
Return the type of the window:
"autocmd" autocommand window. Temporary window
used to execute autocommands.
"popup" popup window |popup|
"preview" preview window |preview-window|
"command" command-line window |cmdwin|
(empty) normal window
"loclist" |location-list-window|
"popup" popup window |popup|
"preview" preview window |preview-window|
"quickfix" |quickfix-window|
"unknown" window {nr} not found
When {nr} is omitted return the type of the current window.