From d5617d027920071d57b4776ed4946e0ae5721f19 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 26 Dec 2022 01:47:16 -0500 Subject: [PATCH] Disable 'langremap' Resolves: https://github.com/tpope/vim-sensible/pull/93 --- plugin/sensible.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/sensible.vim b/plugin/sensible.vim index 89cc38e..7bf34a8 100644 --- a/plugin/sensible.vim +++ b/plugin/sensible.vim @@ -85,6 +85,11 @@ if &t_Co == 8 && $TERM !~# '^Eterm' set t_Co=16 endif +" Disable a legacy behavior that can break plugin maps. +if has('langmap') && exists('+langremap') && &langremap + set nolangremap +endif + " Load matchit.vim, but only if the user hasn't installed a newer version. if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# '' runtime! macros/matchit.vim