vim-patch:7.4.284 #748

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.

https://code.google.com/p/vim/source/detail?r=3c35ca9666e88a8024af6dab585b8e79ab295f83
This commit is contained in:
oni-link
2014-05-22 11:41:45 +02:00
committed by Justin M. Keyes
parent 1057b29c8c
commit f68bf38547
2 changed files with 2 additions and 2 deletions

View File

@@ -1017,7 +1017,7 @@ static struct vimoption
# endif
(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,
(char_u *)&p_langmap, PV_NONE,
{(char_u *)"", /* unmatched } */
(char_u *)0L} SCRIPTID_INIT},

View File

@@ -203,7 +203,7 @@ static char *(features[]) = {
static int included_patches[] = {
// Add new patch number below this line
285,
//284,
284,
//283,
282,
281,