diff options
author | lonerover <pathfinder1644@yahoo.com> | 2017-03-22 12:24:07 +0800 |
---|---|---|
committer | lonerover <pathfinder1644@yahoo.com> | 2017-04-01 22:45:36 +0800 |
commit | 53da57d27a8ee47fe42604ad07bb7c956d9012f5 (patch) | |
tree | 127699227db448d4c2ddac9a16eea1a4d986bafe /src/nvim/options.lua | |
parent | 8de53157b691dd4ce604a5be0e2d9c3b6014bfdb (diff) | |
download | rneovim-53da57d27a8ee47fe42604ad07bb7c956d9012f5.tar.gz rneovim-53da57d27a8ee47fe42604ad07bb7c956d9012f5.tar.bz2 rneovim-53da57d27a8ee47fe42604ad07bb7c956d9012f5.zip |
vim-patch:7.4.2236
Problem: The 'langnoremap' option leads to double negatives. And it does
not work for the last character of a mapping.
Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for
backwards compatibility. Make it work for the last character of a
mapping. Make the test work.
https://github.com/vim/vim/commit/920694c1b60fac8017b8909efcc24f189804a9bb
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index ee2b8a563d..9dff3410d6 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1347,6 +1347,12 @@ return { defaults={if_true={vi=false, vim=true}} }, { + full_name='langremap', abbreviation='lrm', + type='bool', scope={'global'}, + varname='p_lrm', + defaults={if_true={vi=true, vim=false}} + }, + { full_name='laststatus', abbreviation='ls', type='number', scope={'global'}, vim=true, |