mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-13 13:33:48 -05:00
Load matchit.vim
Give precedence to a user installed version, if it exists.
This commit is contained in:
@@ -51,6 +51,10 @@ if exists('+undofile')
|
||||
set undofile
|
||||
endif
|
||||
|
||||
if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
|
||||
runtime! macros/matchit.vim
|
||||
endif
|
||||
|
||||
nnoremap Y y$
|
||||
|
||||
" vim:set ft=vim et sw=2:
|
||||
|
||||
Reference in New Issue
Block a user