diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-25 02:27:10 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-25 02:45:00 -0500 |
commit | 9b2efe6b7d40d6ef317751768a65c74e4e2e8152 (patch) | |
tree | 90005568ab027108eed21fa4ccfcbc8135cc024d /runtime | |
parent | ede747c2cc84382e8746df8992ef0e403647ffde (diff) | |
download | rneovim-9b2efe6b7d40d6ef317751768a65c74e4e2e8152.tar.gz rneovim-9b2efe6b7d40d6ef317751768a65c74e4e2e8152.tar.bz2 rneovim-9b2efe6b7d40d6ef317751768a65c74e4e2e8152.zip |
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 vim/vim#6277)
https://github.com/vim/vim/commit/0fe937fd8616fcd24b1b1ef2ab9f1657615dd22c
Cherry-pick test_preview.vim,test_window_cmd.vim changes
from patch v8.2.0522.
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 43c6bd6918..57d9eb5b43 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -9280,7 +9280,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 |