mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4.284
Problem: Setting 'langmap' in the modeline can cause trouble. E.g. mapping ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann) Solution: Disallow setting 'langmap' from the modeline.
This commit is contained in:
parent
d442ec7fe2
commit
ed7547da43
@ -1652,7 +1652,7 @@ static struct vimoption
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
(char_u *)0L} SCRIPTID_INIT},
|
(char_u *)0L} SCRIPTID_INIT},
|
||||||
{"langmap", "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
|
{"langmap", "lmap", P_STRING|P_VI_DEF|P_COMMA|P_NODUP|P_SECURE,
|
||||||
#ifdef FEAT_LANGMAP
|
#ifdef FEAT_LANGMAP
|
||||||
(char_u *)&p_langmap, PV_NONE,
|
(char_u *)&p_langmap, PV_NONE,
|
||||||
{(char_u *)"", /* unmatched } */
|
{(char_u *)"", /* unmatched } */
|
||||||
|
@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
284,
|
||||||
/**/
|
/**/
|
||||||
283,
|
283,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user