1
0
forked from aniani/vim

patch 8.2.0991: cannot get window type for autocmd and preview window

Problem:    Cannot get window type for autocmd and preview window.
Solution:   Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
This commit is contained in:
Bram Moolenaar
2020-06-16 22:42:04 +02:00
parent a1bc6f1293
commit 0fe937fd86
5 changed files with 36 additions and 3 deletions

View File

@@ -10864,7 +10864,10 @@ win_getid([{win} [, {tab}]]) *win_getid()*
win_gettype([{nr}]) *win_gettype()*
Return the type of the window:
"aucmdwin" 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
"unknown" window {nr} not found