diff options
author | David Bürgin <676c7473@gmail.com> | 2015-03-28 15:51:48 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-29 09:55:59 -0400 |
commit | 2c7e8c38e0f483cf803eb225720cd11ae370ae75 (patch) | |
tree | 7d4ab698d225a1a94e4afe36d40bf3792c64c455 /src/nvim/option.c | |
parent | 9d02e5b984bb540567766941cff4d03f0b6e1837 (diff) | |
download | rneovim-2c7e8c38e0f483cf803eb225720cd11ae370ae75.tar.gz rneovim-2c7e8c38e0f483cf803eb225720cd11ae370ae75.tar.bz2 rneovim-2c7e8c38e0f483cf803eb225720cd11ae370ae75.zip |
vim-patch:7.4.502 #2282
Problem: Language mapping also applies to mapped characters.
Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to
mapped characters. (Christian Brabandt)
https://github.com/vim/vim/releases/tag/v7-4-502
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 3f12709521..4f955fee4e 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -1027,6 +1027,9 @@ static vimoption_T {"langmenu", "lm", P_STRING|P_VI_DEF|P_NFNAME, (char_u *)&p_lm, PV_NONE, {(char_u *)"", (char_u *)0L} SCRIPTID_INIT}, + {"langnoremap", "lnr", P_BOOL|P_VI_DEF, + (char_u *)&p_lnr, PV_NONE, + {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, {"laststatus", "ls", P_NUM|P_VI_DEF|P_RALL, (char_u *)&p_ls, PV_NONE, {(char_u *)1L, (char_u *)0L} SCRIPTID_INIT}, |