1
0
forked from aniani/vim

patch 8.2.1636: get stuck if a popup filter causes an error

Problem:    Get stuck if a popup filter causes an error.
Solution:   Check whether the function can be called and does not cause an
            error.  (closes #6902)
This commit is contained in:
Bram Moolenaar
2020-09-08 22:06:44 +02:00
parent 57ad94c5a9
commit 6defa7bf0a
7 changed files with 99 additions and 3 deletions

View File

@@ -3338,6 +3338,7 @@ struct window_S
// with "cursorline" set
callback_T w_close_cb; // popup close callback
callback_T w_filter_cb; // popup filter callback
int w_filter_errors; // popup filter error count
int w_filter_mode; // mode when filter callback is used
win_T *w_popup_curwin; // close popup if curwin differs