forked from aniani/vim
patch 7.4.786
Problem: It is not possible for a plugin to adjust to a changed setting. Solution: Add the OptionSet autocommand event. (Christian Brabandt)
This commit is contained in:
@@ -1335,6 +1335,7 @@ enum auto_event
|
||||
EVENT_TEXTCHANGED, /* text was modified */
|
||||
EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
|
||||
EVENT_CMDUNDEFINED, /* command undefined */
|
||||
EVENT_OPTIONSET, /* option was set */
|
||||
NUM_EVENTS /* MUST be the last one */
|
||||
};
|
||||
|
||||
@@ -1898,7 +1899,10 @@ typedef int proftime_T; /* dummy for function prototypes */
|
||||
#define VV_WINDOWID 56
|
||||
#define VV_PROGPATH 57
|
||||
#define VV_COMPLETED_ITEM 58
|
||||
#define VV_LEN 59 /* number of v: vars */
|
||||
#define VV_OPTION_NEW 59
|
||||
#define VV_OPTION_OLD 60
|
||||
#define VV_OPTION_TYPE 61
|
||||
#define VV_LEN 62 /* number of v: vars */
|
||||
|
||||
#ifdef FEAT_CLIPBOARD
|
||||
|
||||
|
Reference in New Issue
Block a user