diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-16 22:42:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-16 22:42:04 +0200 |
commit | 0fe937fd8616fcd24b1b1ef2ab9f1657615dd22c (patch) | |
tree | ea589a16e7a487517083f269b4500d6e4cb5d153 /runtime | |
parent | a1bc6f12936a9f621238b940d5c6e97837809447 (diff) | |
download | vim-git-0fe937fd8616fcd24b1b1ef2ab9f1657615dd22c.tar.gz |
patch 8.2.0991: cannot get window type for autocmd and preview windowv8.2.0991
Problem: Cannot get window type for autocmd and preview window.
Solution: Add types to win_gettype(). (Yegappan Lakshmanan, closes #6277)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4ab8bbd1e..fe2e94e25 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -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 |