diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-08 22:06:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-08 22:06:44 +0200 |
commit | 6defa7bf0a8935cc44f3dc12e9c87bbb40f190b7 (patch) | |
tree | ac60098e2e1b3730bd44818242b45959b5b90ebe /src/structs.h | |
parent | 57ad94c5a9ee6f3626e1ec728519a8558a4346c8 (diff) | |
download | vim-git-6defa7bf0a8935cc44f3dc12e9c87bbb40f190b7.tar.gz |
patch 8.2.1636: get stuck if a popup filter causes an errorv8.2.1636
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)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 528c247b1..dba9be65d 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 |