comparison src/vim.h @ 6935:4db70c94226b v7.4.786

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)
author Bram Moolenaar <bram@vim.org>
date Fri, 17 Jul 2015 17:38:22 +0200
parents 676906c33768
children 6600871bb38c
comparison
equal deleted inserted replaced
6934:be7bd53ad376 6935:4db70c94226b
1333 EVENT_SHELLCMDPOST, /* after ":!cmd" */ 1333 EVENT_SHELLCMDPOST, /* after ":!cmd" */
1334 EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */ 1334 EVENT_SHELLFILTERPOST, /* after ":1,2!cmd", ":w !cmd", ":r !cmd". */
1335 EVENT_TEXTCHANGED, /* text was modified */ 1335 EVENT_TEXTCHANGED, /* text was modified */
1336 EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/ 1336 EVENT_TEXTCHANGEDI, /* text was modified in Insert mode*/
1337 EVENT_CMDUNDEFINED, /* command undefined */ 1337 EVENT_CMDUNDEFINED, /* command undefined */
1338 EVENT_OPTIONSET, /* option was set */
1338 NUM_EVENTS /* MUST be the last one */ 1339 NUM_EVENTS /* MUST be the last one */
1339 }; 1340 };
1340 1341
1341 typedef enum auto_event event_T; 1342 typedef enum auto_event event_T;
1342 1343
1896 #define VV_HLSEARCH 54 1897 #define VV_HLSEARCH 54
1897 #define VV_OLDFILES 55 1898 #define VV_OLDFILES 55
1898 #define VV_WINDOWID 56 1899 #define VV_WINDOWID 56
1899 #define VV_PROGPATH 57 1900 #define VV_PROGPATH 57
1900 #define VV_COMPLETED_ITEM 58 1901 #define VV_COMPLETED_ITEM 58
1901 #define VV_LEN 59 /* number of v: vars */ 1902 #define VV_OPTION_NEW 59
1903 #define VV_OPTION_OLD 60
1904 #define VV_OPTION_TYPE 61
1905 #define VV_LEN 62 /* number of v: vars */
1902 1906
1903 #ifdef FEAT_CLIPBOARD 1907 #ifdef FEAT_CLIPBOARD
1904 1908
1905 /* VIM_ATOM_NAME is the older Vim-specific selection type for X11. Still 1909 /* VIM_ATOM_NAME is the older Vim-specific selection type for X11. Still
1906 * supported for when a mix of Vim versions is used. VIMENC_ATOM_NAME includes 1910 * supported for when a mix of Vim versions is used. VIMENC_ATOM_NAME includes