summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-08 22:06:44 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-08 22:06:44 +0200
commit6defa7bf0a8935cc44f3dc12e9c87bbb40f190b7 (patch)
treeac60098e2e1b3730bd44818242b45959b5b90ebe /src/structs.h
parent57ad94c5a9ee6f3626e1ec728519a8558a4346c8 (diff)
downloadvim-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.h1
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