aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorlonerover <pathfinder1644@yahoo.com>2017-03-22 12:24:07 +0800
committerlonerover <pathfinder1644@yahoo.com>2017-04-01 22:45:36 +0800
commit53da57d27a8ee47fe42604ad07bb7c956d9012f5 (patch)
tree127699227db448d4c2ddac9a16eea1a4d986bafe /src/nvim/options.lua
parent8de53157b691dd4ce604a5be0e2d9c3b6014bfdb (diff)
downloadrneovim-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.lua6
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,