mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +00:00
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:

committed by
Justin M. Keyes

parent
1057b29c8c
commit
f68bf38547
@@ -1017,7 +1017,7 @@ static struct vimoption
|
|||||||
# endif
|
# endif
|
||||||
(char_u *)0L
|
(char_u *)0L
|
||||||
} SCRIPTID_INIT},
|
} 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 *)&p_langmap, PV_NONE,
|
||||||
{(char_u *)"", /* unmatched } */
|
{(char_u *)"", /* unmatched } */
|
||||||
(char_u *)0L} SCRIPTID_INIT},
|
(char_u *)0L} SCRIPTID_INIT},
|
||||||
|
@@ -203,7 +203,7 @@ 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
|
||||||
285,
|
285,
|
||||||
//284,
|
284,
|
||||||
//283,
|
//283,
|
||||||
282,
|
282,
|
||||||
281,
|
281,
|
||||||
|
Reference in New Issue
Block a user