diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-05 17:01:39 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-11-07 08:24:48 +0800 |
commit | 84881674fd702cad5b7572ac868f6d40965a2806 (patch) | |
tree | 67e6e2d09e8e33ed6f5beb93299674288b943841 /runtime | |
parent | 595f7f37a98f3af12fe94ba4332b8f33004b7e4b (diff) | |
download | rneovim-84881674fd702cad5b7572ac868f6d40965a2806.tar.gz rneovim-84881674fd702cad5b7572ac868f6d40965a2806.tar.bz2 rneovim-84881674fd702cad5b7572ac868f6d40965a2806.zip |
vim-patch:9.0.0389: crash when 'tagfunc' closes the window
Problem: Crash when 'tagfunc' closes the window.
Solution: Bail out when the window was closed.
https://github.com/vim/vim/commit/ccfde4d028e891a41e3548323c3d47b06fb0b83e
Add docs for E1299 from Vim runtime.
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/tagsrch.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index d079db0717..aab6f78315 100644 --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -909,6 +909,8 @@ If the function returns |v:null| instead of a List, a standard tag lookup will be performed instead. It is not allowed to change the tagstack from inside 'tagfunc'. *E986* +It is not allowed to close a window or change window from inside 'tagfunc'. +*E1299* The following is a hypothetical example of a function used for 'tagfunc'. It uses the output of |taglist()| to generate the result: a list of tags in the |