mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +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
|
||||
(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},
|
||||
|
Reference in New Issue
Block a user