Disable 'langremap'

Resolves: https://github.com/tpope/vim-sensible/pull/93
This commit is contained in:
Tim Pope
2022-12-26 01:47:16 -05:00
parent 489e9bf885
commit d5617d0279

View File

@@ -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